#372A8F#372A8F
#372A8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.158 H 281.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #372A8F |
|---|---|
| RGB | rgb(55, 42, 143) |
| HSL | hsl(248, 55%, 36%) |
| HSV | hsv(248, 71%, 56%) |
| CMYK | cmyk(61.5%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(25.11, 35.92, -53.92) |
| CIE-LCH | lch(25.11, 64.79, 303.67°) |
| OKLab | oklab(36.98% 0.0307 -0.1553) |
| OKLCH | oklch(36.98% 0.158 281.2) |
| XYZ | xyz(7.3599, 4.4508, 26.4525) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 6.18
Blueberry
#464196
ΔE00 6.55
Midnight Blue
#191970
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372A8F #828F2A
analogous
#2A508F #372A8F #6A2A8F
triadic
#372A8F #8F372A #2A8F37
tetradic
#372A8F #8F2A50 #828F2A #2A8F6A
square
#372A8F #8F2A50 #828F2A #2A8F6A
split-complementary
#372A8F #8F6A2A #508F2A
monochromatic
#130E30 #251C60 #372A8F #4938BE #7162D1
Accessibility & contrast
On white
11.11
#372A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#372A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372A8F
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372A8F | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #372a8f; /* rgb */ color: rgb(55, 42, 143); /* oklch */ color: oklch(37.0% 0.158 281.2);
Tailwind
colors: {
custom: {
50: '#7965b1',
500: '#372a8f',
950: '#000000',
},
}SCSS
$custom: #372a8f; $custom-light: #7965b1; $custom-dark: #000000;
JSON
{
"hex": "#372a8f",
"rgb": {
"r": 55,
"g": 42,
"b": 143
},
"hsl": {
"h": 247.723,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.36979,
"c": 0.15835,
"h": 281.2
},
"luminance": 0.04451
}Semantic roles & 50–950 ramp
primary
#372A8F
secondary
#ABB75E
accent
#DE4ACB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80