#33478B#33478B
#33478B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.115 H 268.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #33478B |
|---|---|
| RGB | rgb(51, 71, 139) |
| HSL | hsl(226, 46%, 37%) |
| HSV | hsv(226, 63%, 55%) |
| CMYK | cmyk(63.3%, 48.9%, 0%, 45.5%) |
| CIE-LAB | lab(31.97, 14.84, -40.32) |
| CIE-LCH | lch(31.97, 42.97, 290.20°) |
| OKLab | oklab(41.9% -0.0026 -0.1153) |
| OKLCH | oklch(41.9% 0.115 268.7) |
| XYZ | xyz(8.2771, 7.0737, 25.3503) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.29
Blueberry
#464196
ΔE00 5.44
Darkish Blue
#014182
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.49
Twilight
#4E518B
ΔE00 5.75
Dusk Blue
#26538D
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33478B #8B7733
analogous
#33738B #33478B #4B338B
triadic
#33478B #8B3347 #478B33
tetradic
#33478B #8B3373 #8B7733 #338B4B
square
#33478B #8B3373 #8B7733 #338B4B
split-complementary
#33478B #8B4B33 #738B33
monochromatic
#121931 #23305E #33478B #435EB8 #6E83CA
Accessibility & contrast
On white
8.70
#33478B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#33478B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33478B
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33478B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33478B | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254F8E
Deuteranopia (green-blind)
#15478A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #33478b; /* rgb */ color: rgb(51, 71, 139); /* oklch */ color: oklch(41.9% 0.115 268.7);
Tailwind
colors: {
custom: {
50: '#7479ad',
500: '#33478b',
950: '#000000',
},
}SCSS
$custom: #33478b; $custom-light: #7479ad; $custom-dark: #000000;
JSON
{
"hex": "#33478b",
"rgb": {
"r": 51,
"g": 71,
"b": 139
},
"hsl": {
"h": 226.364,
"s": 46.316,
"l": 37.255
},
"oklch": {
"l": 0.41896,
"c": 0.11531,
"h": 268.7
},
"luminance": 0.07074
}Semantic roles & 50–950 ramp
primary
#33478B
secondary
#B2A168
accent
#B852D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F