#372C8F#372C8F
#372C8F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.156 H 280.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #372C8F |
|---|---|
| RGB | rgb(55, 44, 143) |
| HSL | hsl(247, 53%, 37%) |
| HSV | hsv(247, 69%, 56%) |
| CMYK | cmyk(61.5%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(25.55, 34.71, -53.19) |
| CIE-LCH | lch(25.55, 63.52, 303.13°) |
| OKLab | oklab(37.3% 0.029 -0.1532) |
| OKLCH | oklch(37.3% 0.156 280.7) |
| XYZ | xyz(7.4326, 4.5962, 26.4768) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.50
Royal
#0C1793
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 5.84
Blueberry
#464196
ΔE00 6.05
Indigo Blue
#3A18B1
ΔE00 6.32
Midnight Blue
#191970
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372C8F #848F2C
analogous
#2C538F #372C8F #692C8F
triadic
#372C8F #8F372C #2C8F37
tetradic
#372C8F #8F2C53 #848F2C #2C8F69
square
#372C8F #8F2C53 #848F2C #2C8F69
split-complementary
#372C8F #8F692C #538F2C
monochromatic
#130F31 #251E60 #372C8F #493ABE #7166D0
Accessibility & contrast
On white
10.94
#372C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#372C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372C8F
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372C8F | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #372c8f; /* rgb */ color: rgb(55, 44, 143); /* oklch */ color: oklch(37.3% 0.156 280.7);
Tailwind
colors: {
custom: {
50: '#7866b1',
500: '#372c8f',
950: '#000000',
},
}SCSS
$custom: #372c8f; $custom-light: #7866b1; $custom-dark: #000000;
JSON
{
"hex": "#372c8f",
"rgb": {
"r": 55,
"g": 44,
"b": 143
},
"hsl": {
"h": 246.667,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.37297,
"c": 0.15595,
"h": 280.7
},
"luminance": 0.04597
}Semantic roles & 50–950 ramp
primary
#372C8F
secondary
#ADB661
accent
#DC4BCC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80