#372C8C#372C8C
#372C8C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.152 H 281.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #372C8C |
|---|---|
| RGB | rgb(55, 44, 140) |
| HSL | hsl(247, 52%, 36%) |
| HSV | hsv(247, 69%, 55%) |
| CMYK | cmyk(60.7%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(25.28, 33.71, -51.78) |
| CIE-LCH | lch(25.28, 61.79, 303.07°) |
| OKLab | oklab(37.02% 0.0294 -0.1491) |
| OKLCH | oklch(37.02% 0.152 281.2) |
| XYZ | xyz(7.2084, 4.5065, 25.2959) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.36
Royal
#0C1793
ΔE00 5.98
Blueberry
#464196
ΔE00 6.08
Sapphire (survey)
#2138AB
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.60
Indigo Blue
#3A18B1
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372C8C #818C2C
analogous
#2C518C #372C8C #672C8C
triadic
#372C8C #8C372C #2C8C37
tetradic
#372C8C #8C2C51 #818C2C #2C8C67
square
#372C8C #8C2C51 #818C2C #2C8C67
split-complementary
#372C8C #8C672C #518C2C
monochromatic
#120F2F #251D5D #372C8C #493BBB #7064CE
Accessibility & contrast
On white
11.04
#372C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#372C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372C8C
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372C8C | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #372c8c; /* rgb */ color: rgb(55, 44, 140); /* oklch */ color: oklch(37.0% 0.152 281.2);
Tailwind
colors: {
custom: {
50: '#7866ae',
500: '#372c8c',
950: '#000000',
},
}SCSS
$custom: #372c8c; $custom-light: #7866ae; $custom-dark: #000000;
JSON
{
"hex": "#372c8c",
"rgb": {
"r": 55,
"g": 44,
"b": 140
},
"hsl": {
"h": 246.875,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.37017,
"c": 0.15196,
"h": 281.2
},
"luminance": 0.04507
}Semantic roles & 50–950 ramp
primary
#372C8C
secondary
#ABB55F
accent
#DC4CCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F