#37339B#37339B
#37339B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.163 H 277.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #37339B |
|---|---|
| RGB | rgb(55, 51, 155) |
| HSL | hsl(242, 50%, 40%) |
| HSV | hsv(242, 67%, 61%) |
| CMYK | cmyk(64.5%, 67.1%, 0%, 39.2%) |
| CIE-LAB | lab(28.24, 34.44, -56.17) |
| CIE-LCH | lch(28.24, 65.89, 301.51°) |
| OKLab | oklab(39.57% 0.0215 -0.1619) |
| OKLCH | oklch(39.57% 0.163 277.6) |
| XYZ | xyz(8.6739, 5.5457, 31.6173) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Blueberry
#464196
ΔE00 4.57
Darkslateblue
#483D8B
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 6.08
Indigo Blue
#3A18B1
ΔE00 6.53
Royal
#0C1793
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37339B #979B33
analogous
#33639B #37339B #6B339B
triadic
#37339B #9B3733 #339B37
tetradic
#37339B #9B3363 #979B33 #339B6B
square
#37339B #9B3363 #979B33 #339B6B
split-complementary
#37339B #9B6B33 #639B33
monochromatic
#16153F #27246D #37339B #4D48C3 #7A76D2
Accessibility & contrast
On white
9.96
#37339B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#37339B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37339B
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37339B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37339B | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #37339b; /* rgb */ color: rgb(55, 51, 155); /* oklch */ color: oklch(39.6% 0.163 277.6);
Tailwind
colors: {
custom: {
50: '#7a6bb9',
500: '#37339b',
950: '#000000',
},
}SCSS
$custom: #37339b; $custom-light: #7a6bb9; $custom-dark: #000000;
JSON
{
"hex": "#37339b",
"rgb": {
"r": 55,
"g": 51,
"b": 155
},
"hsl": {
"h": 242.308,
"s": 50.485,
"l": 40.392
},
"oklch": {
"l": 0.39571,
"c": 0.16338,
"h": 277.6
},
"luminance": 0.05546
}Semantic roles & 50–950 ramp
primary
#37339B
secondary
#B8BA6F
accent
#DA4ED5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81