Nearest named color · #03055C
#03055C
Nearest named color: Ravenclaw
#03055C (rgb(3 5 92), hsl(239 94% 19%), oklch(0.223 0.143 265.9)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#03055C
oklch(0.223 0.143 265.9)
Color conversions
- HEX
- #03055c
- RGB
- rgb(3 5 92)
- HSL
- hsl(239 94% 19%)
- HWB
- hwb(239 1% 64%)
- OKLCH
- oklch(0.223 0.143 265.9)
- OKLab
- oklab(0.223 -0.01 -0.142)
- CIE Lab
- lab(7.03 29.06 -50.85)
- LCH
- lch(7.03 58.57 299.7)
- CMYK
- cmyk(97% 95% 0% 64%)
Tints · Shades · Tones
Tints
- 0F256D
- 253D7E
- 3C548F
- 556B9F
- 6F83AF
- 8A9BBF
- A6B3CF
- C3CCDF
- E1E5EF
Shades
- 02044F
- 020342
- 010236
- 01012A
- 00011F
- 000014
- 00000A
- 000003
- 000000
Tones
- 071961
- 122666
- 1E336A
- 2B3E6E
- 384972
- 465475
- 545F78
- 626A7B
- 71757E
Color harmonies
Complementary +180°
- 03055C
Ravenclaw
- 251900
≈ Cannon Black
Analogous -30° +30°
- 03055C
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004C
≈ Your Darkness
Triadic +120° +240°
- 03055C
Ravenclaw
- 3C0003
≈ Dark Maroon
- 002305
≈ Rainforest Nights
Split-complementary +150° +210°
- 03055C
Ravenclaw
- 2E1300
≈ Shadow Play
- 1A1E00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.79:1 · APCA Lc 103
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 103
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #03055c;
--ravenclaw-rgb: 3 5 92;
--ravenclaw-oklch: oklch(0.223 0.143 265.9);
}
.element {
color: var(--ravenclaw);
background-color: hsl(239 94% 19%);
border-color: oklch(0.223 0.143 265.9);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #03055c;
--color-ravenclaw-50: #e3f5ff;
--color-ravenclaw-100: #d3e7ff;
--color-ravenclaw-200: #bad3ff;
--color-ravenclaw-300: #98b5ff;
--color-ravenclaw-400: #769bf3;
--color-ravenclaw-500: #5980e4;
--color-ravenclaw-600: #4c6dc0;
--color-ravenclaw-700: #3c579a;
--color-ravenclaw-800: #284073;
--color-ravenclaw-900: #1b2c51;
--color-ravenclaw-950: #0c1936;
}SCSS
$ravenclaw: #03055c;
$ravenclaw-rgb: 3, 5, 92;
$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);
}