#33478E#33478E
#33478E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.120 H 269.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #33478E |
|---|---|
| RGB | rgb(51, 71, 142) |
| HSL | hsl(227, 47%, 38%) |
| HSV | hsv(227, 64%, 56%) |
| CMYK | cmyk(64.1%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(32.17, 15.94, -41.84) |
| CIE-LCH | lch(32.17, 44.78, 290.86°) |
| OKLab | oklab(42.11% -0.0022 -0.1197) |
| OKLCH | oklch(42.11% 0.12 269) |
| XYZ | xyz(8.4993, 7.1625, 26.5205) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.30
Cobalt
#0047AB
ΔE00 5.15
Blueberry
#464196
ΔE00 5.19
Darkish Blue
#014182
ΔE00 5.60
Twilight
#4E518B
ΔE00 5.85
Dusk Blue
#26538D
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33478E #8E7A33
analogous
#33748E #33478E #4C338E
triadic
#33478E #8E3347 #478E33
tetradic
#33478E #8E3374 #8E7A33 #338E4C
square
#33478E #8E3374 #8E7A33 #338E4C
split-complementary
#33478E #8E4C33 #748E33
monochromatic
#131A34 #233061 #33478E #435EBB #7084CC
Accessibility & contrast
On white
8.63
#33478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#33478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33478E
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33478E | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #33478e; /* rgb */ color: rgb(51, 71, 142); /* oklch */ color: oklch(42.1% 0.120 269.0);
Tailwind
colors: {
custom: {
50: '#7479af',
500: '#33478e',
950: '#000000',
},
}SCSS
$custom: #33478e; $custom-light: #7479af; $custom-dark: #000000;
JSON
{
"hex": "#33478e",
"rgb": {
"r": 51,
"g": 71,
"b": 142
},
"hsl": {
"h": 226.813,
"s": 47.15,
"l": 37.843
},
"oklch": {
"l": 0.42113,
"c": 0.11977,
"h": 269
},
"luminance": 0.07163
}Semantic roles & 50–950 ramp
primary
#33478E
secondary
#B4A369
accent
#B951D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F