#37398E#37398E
#37398E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.138 H 277.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #37398E |
|---|---|
| RGB | rgb(55, 57, 142) |
| HSL | hsl(239, 44%, 39%) |
| HSV | hsv(239, 61%, 56%) |
| CMYK | cmyk(61.3%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.62, 26.06, -47.57) |
| CIE-LCH | lch(28.62, 54.25, 298.72°) |
| OKLab | oklab(39.51% 0.0169 -0.1367) |
| OKLCH | oklch(39.51% 0.138 277) |
| XYZ | xyz(7.9196, 5.6909, 26.2671) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.13
Darkslateblue
#483D8B
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 7.05
Cobalt (survey)
#1E488F
ΔE00 7.73
Cobalt
#0047AB
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37398E #8E8C37
analogous
#37648E #37398E #60378E
triadic
#37398E #8E3739 #398E37
tetradic
#37398E #8E3764 #8E8C37 #378E60
square
#37398E #8E3764 #8E8C37 #378E60
split-complementary
#37398E #8E6037 #648E37
monochromatic
#151636 #262762 #37398E #494CB9 #7678CA
Accessibility & contrast
On white
9.82
#37398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#37398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37398E
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37398E | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #37398e; /* rgb */ color: rgb(55, 57, 142); /* oklch */ color: oklch(39.5% 0.138 277.0);
Tailwind
colors: {
custom: {
50: '#776fb0',
500: '#37398e',
950: '#000000',
},
}SCSS
$custom: #37398e; $custom-light: #776fb0; $custom-dark: #000000;
JSON
{
"hex": "#37398e",
"rgb": {
"r": 55,
"g": 57,
"b": 142
},
"hsl": {
"h": 238.621,
"s": 44.162,
"l": 38.627
},
"oklch": {
"l": 0.39512,
"c": 0.13771,
"h": 277
},
"luminance": 0.05691
}Semantic roles & 50–950 ramp
primary
#37398E
secondary
#B3B16E
accent
#D154D4
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F