#372F7F#372F7F
#372F7F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.130 H 282.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #372F7F |
|---|---|
| RGB | rgb(55, 47, 127) |
| HSL | hsl(246, 46%, 34%) |
| HSV | hsv(246, 63%, 50%) |
| CMYK | cmyk(56.7%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(24.88, 27.43, -44.30) |
| CIE-LCH | lch(24.88, 52.10, 301.77°) |
| OKLab | oklab(36.38% 0.0277 -0.1271) |
| OKLCH | oklch(36.38% 0.13 282.3) |
| XYZ | xyz(6.4216, 4.3772, 20.5811) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.56
Blueberry
#464196
ΔE00 5.93
Midnight Blue
#191970
ΔE00 6.53
Sapphire (survey)
#2138AB
ΔE00 7.57
Royal
#0C1793
ΔE00 7.77
Indigo (survey)
#380282
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372F7F #777F2F
analogous
#2F4F7F #372F7F #5F2F7F
triadic
#372F7F #7F372F #2F7F37
tetradic
#372F7F #7F2F4F #777F2F #2F7F5F
square
#372F7F #7F2F4F #777F2F #2F7F5F
split-complementary
#372F7F #7F5F2F #4F7F2F
monochromatic
#100E26 #241E52 #372F7F #4A40AC #6D63C5
Accessibility & contrast
On white
11.20
#372F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#372F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372F7F
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372F7F | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#164252
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #372f7f; /* rgb */ color: rgb(55, 47, 127); /* oklch */ color: oklch(36.4% 0.130 282.3);
Tailwind
colors: {
custom: {
50: '#7568a5',
500: '#372f7f',
950: '#000000',
},
}SCSS
$custom: #372f7f; $custom-light: #7568a5; $custom-dark: #000000;
JSON
{
"hex": "#372f7f",
"rgb": {
"r": 55,
"g": 47,
"b": 127
},
"hsl": {
"h": 246,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.3638,
"c": 0.13008,
"h": 282.3
},
"luminance": 0.04378
}Semantic roles & 50–950 ramp
primary
#372F7F
secondary
#A4AC5E
accent
#D652C8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F