Nearest named color · #01075A
#01075A
Nearest named color: Ravenclaw
#01075A (rgb(1 7 90), hsl(236 98% 18%), oklch(0.222 0.139 264.8)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#01075A
oklch(0.222 0.139 264.8)
Color conversions
- HEX
- #01075a
- RGB
- rgb(1 7 90)
- HSL
- hsl(236 98% 18%)
- HWB
- hwb(236 0% 65%)
- OKLCH
- oklch(0.222 0.139 264.8)
- OKLab
- oklab(0.222 -0.013 -0.139)
- CIE Lab
- lab(7.04 27.11 -49.49)
- LCH
- lch(7.04 56.43 298.7)
- CMYK
- cmyk(99% 92% 0% 65%)
Tints · Shades · Tones
Tints
- 0D256B
- 233D7C
- 3B548D
- 556C9D
- 6F83AE
- 8A9BBE
- A6B3CF
- C3CCDF
- E1E5EF
Shades
- 01054D
- 010441
- 000235
- 000229
- 00011E
- 000013
- 000009
- 000003
- 000000
Tones
- 05195F
- 102764
- 1D3368
- 2A3E6D
- 384A71
- 465574
- 545F78
- 626A7B
- 71757E
Color harmonies
Complementary +180°
- 01075A
Ravenclaw
- 251900
≈ Cannon Black
Analogous -30° +30°
- 01075A
Ravenclaw
- 001E2D
≈ Cyanophobia
- 22004C
≈ Your Darkness
Triadic +120° +240°
- 01075A
Ravenclaw
- 3B0004
≈ Dark Maroon
- 002303
≈ Rainforest Nights
Split-complementary +150° +210°
- 01075A
Ravenclaw
- 2E1300
≈ Shadow Play
- 1B1D00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.80:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #01075a;
--ravenclaw-rgb: 1 7 90;
--ravenclaw-oklch: oklch(0.222 0.139 264.8);
}
.element {
color: var(--ravenclaw);
background-color: hsl(236 98% 18%);
border-color: oklch(0.222 0.139 264.8);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #01075a;
--color-ravenclaw-50: #e3f5ff;
--color-ravenclaw-100: #d3e8ff;
--color-ravenclaw-200: #b9d3ff;
--color-ravenclaw-300: #97b5ff;
--color-ravenclaw-400: #759cf1;
--color-ravenclaw-500: #5881e2;
--color-ravenclaw-600: #4a6dbe;
--color-ravenclaw-700: #3b5899;
--color-ravenclaw-800: #284072;
--color-ravenclaw-900: #1a2c50;
--color-ravenclaw-950: #0b1936;
}SCSS
$ravenclaw: #01075a;
$ravenclaw-rgb: 1, 7, 90;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);
.element {
color: $ravenclaw;
box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}