#372B76#372B76
#372B76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.123 H 285.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #372B76 |
|---|---|
| RGB | rgb(55, 43, 118) |
| HSL | hsl(250, 47%, 32%) |
| HSV | hsv(250, 64%, 46%) |
| CMYK | cmyk(53.4%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(23.16, 27.01, -41.38) |
| CIE-LCH | lch(23.16, 49.42, 303.13°) |
| OKLab | oklab(34.89% 0.0327 -0.1185) |
| OKLCH | oklch(34.89% 0.123 285.4) |
| XYZ | xyz(5.7085, 3.8477, 17.5779) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 5.79
Blueberry
#464196
ΔE00 7.51
Royal
#0C1793
ΔE00 8.12
Indigo (survey)
#380282
ΔE00 8.53
Indigo
#4B0082
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372B76 #6A762B
analogous
#2B4576 #372B76 #5D2B76
triadic
#372B76 #76372B #2B7637
tetradic
#372B76 #762B45 #6A762B #2B765D
square
#372B76 #762B45 #6A762B #2B765D
split-complementary
#372B76 #765D2B #45762B
monochromatic
#0D0A1C #221B49 #372B76 #4C3BA3 #6A59C2
Accessibility & contrast
On white
11.87
#372B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#372B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372B76
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372B76 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#1F3D4C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #372b76; /* rgb */ color: rgb(55, 43, 118); /* oklch */ color: oklch(34.9% 0.123 285.4);
Tailwind
colors: {
custom: {
50: '#74659e',
500: '#372b76',
950: '#000000',
},
}SCSS
$custom: #372b76; $custom-light: #74659e; $custom-dark: #000000;
JSON
{
"hex": "#372b76",
"rgb": {
"r": 55,
"g": 43,
"b": 118
},
"hsl": {
"h": 249.6,
"s": 46.584,
"l": 31.569
},
"oklch": {
"l": 0.3489,
"c": 0.12296,
"h": 285.4
},
"luminance": 0.03848
}Semantic roles & 50–950 ramp
primary
#372B76
secondary
#9AA855
accent
#D652C1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E