Nearest named color · #0E0755
#0E0755
Nearest named color: Ravenclaw
#0E0755 (rgb(14 7 85), hsl(245 85% 18%), oklch(0.222 0.129 272.6)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0E0755
oklch(0.222 0.129 272.6)
Color conversions
- HEX
- #0e0755
- RGB
- rgb(14 7 85)
- HSL
- hsl(245 85% 18%)
- HWB
- hwb(245 3% 67%)
- OKLCH
- oklch(0.222 0.129 272.6)
- OKLab
- oklab(0.222 0.006 -0.128)
- CIE Lab
- lab(7.23 26.67 -45.74)
- LCH
- lch(7.23 52.95 300.2)
- CMYK
- cmyk(84% 92% 0% 67%)
Tints · Shades · Tones
Tints
- 1D2466
- 303B78
- 465289
- 5D6A9A
- 7681AB
- 909ABC
- ABB2CC
- C6CBDD
- E2E5EE
Shades
- 0B0549
- 07043D
- 050231
- 030226
- 02011C
- 010011
- 000008
- 000002
- 000000
Tones
- 15185A
- 1E2660
- 283165
- 333D69
- 3F486E
- 4B5372
- 585E76
- 656A79
- 72757D
Color harmonies
Complementary +180°
- 0E0755
Ravenclaw
- 221A00
≈ Cannon Black
Analogous -30° +30°
- 0E0755
Ravenclaw
- 001D32
≈ Cyanophobia
- 270046
≈ Your Darkness
Triadic +120° +240°
- 0E0755
Ravenclaw
- 390400
≈ 3AM Breakup
- 00220D
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 0E0755
Ravenclaw
- 2B1500
≈ Shadow Play
- 171F00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.79:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #0e0755;
--ravenclaw-rgb: 14 7 85;
--ravenclaw-oklch: oklch(0.222 0.129 272.6);
}
.element {
color: var(--ravenclaw);
background-color: hsl(245 85% 18%);
border-color: oklch(0.222 0.129 272.6);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #0e0755;
--color-ravenclaw-50: #eaf3ff;
--color-ravenclaw-100: #dae5ff;
--color-ravenclaw-200: #c3d1ff;
--color-ravenclaw-300: #a3b2f9;
--color-ravenclaw-400: #8599ea;
--color-ravenclaw-500: #6a7edb;
--color-ravenclaw-600: #5a6bb8;
--color-ravenclaw-700: #485594;
--color-ravenclaw-800: #323f6f;
--color-ravenclaw-900: #222b4e;
--color-ravenclaw-950: #111834;
}SCSS
$ravenclaw: #0e0755;
$ravenclaw-rgb: 14, 7, 85;
$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);
}