#372C8E#372C8E
#372C8E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.155 H 280.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #372C8E |
|---|---|
| RGB | rgb(55, 44, 142) |
| HSL | hsl(247, 53%, 36%) |
| HSV | hsv(247, 69%, 56%) |
| CMYK | cmyk(61.3%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(25.46, 34.38, -52.72) |
| CIE-LCH | lch(25.46, 62.94, 303.11°) |
| OKLab | oklab(37.2% 0.0291 -0.1519) |
| OKLCH | oklch(37.2% 0.155 280.9) |
| XYZ | xyz(7.3572, 4.5661, 26.0796) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.45
Royal
#0C1793
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 5.95
Blueberry
#464196
ΔE00 6.06
Indigo Blue
#3A18B1
ΔE00 6.45
Midnight Blue
#191970
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372C8E #838E2C
analogous
#2C528E #372C8E #682C8E
triadic
#372C8E #8E372C #2C8E37
tetradic
#372C8E #8E2C52 #838E2C #2C8E68
square
#372C8E #8E2C52 #838E2C #2C8E68
split-complementary
#372C8E #8E682C #528E2C
monochromatic
#130F31 #251E5F #372C8E #493ABD #7165CF
Accessibility & contrast
On white
10.98
#372C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#372C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372C8E
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372C8E | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #372c8e; /* rgb */ color: rgb(55, 44, 142); /* oklch */ color: oklch(37.2% 0.155 280.9);
Tailwind
colors: {
custom: {
50: '#7866b0',
500: '#372c8e',
950: '#000000',
},
}SCSS
$custom: #372c8e; $custom-light: #7866b0; $custom-dark: #000000;
JSON
{
"hex": "#372c8e",
"rgb": {
"r": 55,
"g": 44,
"b": 142
},
"hsl": {
"h": 246.735,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.37203,
"c": 0.15462,
"h": 280.9
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#372C8E
secondary
#ACB660
accent
#DC4CCC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80