#372A8E#372A8E
#372A8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.157 H 281.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #372A8E |
|---|---|
| RGB | rgb(55, 42, 142) |
| HSL | hsl(248, 54%, 36%) |
| HSV | hsv(248, 70%, 56%) |
| CMYK | cmyk(61.3%, 70.4%, 0%, 44.3%) |
| CIE-LAB | lab(25.02, 35.59, -53.45) |
| CIE-LCH | lch(25.02, 64.22, 303.66°) |
| OKLab | oklab(36.88% 0.0309 -0.154) |
| OKLCH | oklch(36.88% 0.157 281.3) |
| XYZ | xyz(7.2845, 4.4206, 26.0553) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.48
Darkslateblue
#483D8B
ΔE00 5.90
Indigo Blue
#3A18B1
ΔE00 6.11
Sapphire (survey)
#2138AB
ΔE00 6.28
Midnight Blue
#191970
ΔE00 6.52
Blueberry
#464196
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372A8E #818E2A
analogous
#2A4F8E #372A8E #692A8E
triadic
#372A8E #8E372A #2A8E37
tetradic
#372A8E #8E2A4F #818E2A #2A8E69
square
#372A8E #8E2A4F #818E2A #2A8E69
split-complementary
#372A8E #8E692A #4F8E2A
monochromatic
#120E30 #251C5F #372A8E #4938BD #7062D1
Accessibility & contrast
On white
11.15
#372A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#372A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372A8E
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372A8E | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #372a8e; /* rgb */ color: rgb(55, 42, 142); /* oklch */ color: oklch(36.9% 0.157 281.3);
Tailwind
colors: {
custom: {
50: '#7865b0',
500: '#372a8e',
950: '#000000',
},
}SCSS
$custom: #372a8e; $custom-light: #7865b0; $custom-dark: #000000;
JSON
{
"hex": "#372a8e",
"rgb": {
"r": 55,
"g": 42,
"b": 142
},
"hsl": {
"h": 247.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.36883,
"c": 0.15704,
"h": 281.3
},
"luminance": 0.04421
}Semantic roles & 50–950 ramp
primary
#372A8E
secondary
#ABB65D
accent
#DE4ACB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80