#372C8D#372C8D
#372C8D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.153 H 281.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #372C8D |
|---|---|
| RGB | rgb(55, 44, 141) |
| HSL | hsl(247, 52%, 36%) |
| HSV | hsv(247, 69%, 55%) |
| CMYK | cmyk(61%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(25.37, 34.04, -52.25) |
| CIE-LCH | lch(25.37, 62.36, 303.09°) |
| OKLab | oklab(37.11% 0.0293 -0.1505) |
| OKLCH | oklch(37.11% 0.153 281) |
| XYZ | xyz(7.2824, 4.5362, 25.6860) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.41
Royal
#0C1793
ΔE00 5.92
Sapphire (survey)
#2138AB
ΔE00 6.06
Blueberry
#464196
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372C8D #828D2C
analogous
#2C528D #372C8D #682C8D
triadic
#372C8D #8D372C #2C8D37
tetradic
#372C8D #8D2C52 #828D2C #2C8D68
square
#372C8D #8D2C52 #828D2C #2C8D68
split-complementary
#372C8D #8D682C #528D2C
monochromatic
#130F30 #251D5E #372C8D #493BBC #7165CF
Accessibility & contrast
On white
11.01
#372C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#372C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372C8D
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372C8D | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #372c8d; /* rgb */ color: rgb(55, 44, 141); /* oklch */ color: oklch(37.1% 0.153 281.0);
Tailwind
colors: {
custom: {
50: '#7866af',
500: '#372c8d',
950: '#000000',
},
}SCSS
$custom: #372c8d; $custom-light: #7866af; $custom-dark: #000000;
JSON
{
"hex": "#372c8d",
"rgb": {
"r": 55,
"g": 44,
"b": 141
},
"hsl": {
"h": 246.804,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.3711,
"c": 0.15329,
"h": 281
},
"luminance": 0.04537
}Semantic roles & 50–950 ramp
primary
#372C8D
secondary
#ABB560
accent
#DC4CCC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F