#37339E#37339E
#37339E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.167 H 277.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #37339E |
|---|---|
| RGB | rgb(55, 51, 158) |
| HSL | hsl(242, 51%, 41%) |
| HSV | hsv(242, 68%, 62%) |
| CMYK | cmyk(65.2%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(28.51, 35.46, -57.56) |
| CIE-LCH | lch(28.51, 67.60, 301.64°) |
| OKLab | oklab(39.85% 0.0212 -0.166) |
| OKLCH | oklch(39.85% 0.167 277.3) |
| XYZ | xyz(8.9289, 5.6478, 32.9607) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Blueberry
#464196
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.82
Indigo Blue
#3A18B1
ΔE00 6.28
Blue Blue
#2242C7
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37339E #9A9E33
analogous
#33649E #37339E #6C339E
triadic
#37339E #9E3733 #339E37
tetradic
#37339E #9E3364 #9A9E33 #339E6C
square
#37339E #9E3364 #9A9E33 #339E6C
split-complementary
#37339E #9E6C33 #649E33
monochromatic
#171541 #272470 #37339E #4E4AC4 #7B78D3
Accessibility & contrast
On white
9.86
#37339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#37339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37339E
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37339E | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #37339e; /* rgb */ color: rgb(55, 51, 158); /* oklch */ color: oklch(39.9% 0.167 277.3);
Tailwind
colors: {
custom: {
50: '#7b6bbc',
500: '#37339e',
950: '#000000',
},
}SCSS
$custom: #37339e; $custom-light: #7b6bbc; $custom-dark: #000000;
JSON
{
"hex": "#37339e",
"rgb": {
"r": 55,
"g": 51,
"b": 158
},
"hsl": {
"h": 242.243,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.3985,
"c": 0.16736,
"h": 277.3
},
"luminance": 0.05648
}Semantic roles & 50–950 ramp
primary
#37339E
secondary
#B9BC71
accent
#DB4DD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81