#372A7B#372A7B
#372A7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.131 H 284.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #372A7B |
|---|---|
| RGB | rgb(55, 42, 123) |
| HSL | hsl(250, 49%, 32%) |
| HSV | hsv(250, 66%, 48%) |
| CMYK | cmyk(55.3%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(23.33, 29.31, -44.29) |
| CIE-LCH | lch(23.33, 53.11, 303.50°) |
| OKLab | oklab(35.14% 0.0334 -0.1271) |
| OKLCH | oklch(35.14% 0.131 284.7) |
| XYZ | xyz(5.9776, 3.8979, 19.1724) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.76
Royal
#0C1793
ΔE00 7.21
Blueberry
#464196
ΔE00 7.29
Indigo (survey)
#380282
ΔE00 7.82
Indigo
#4B0082
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372A7B #6E7B2A
analogous
#2A457B #372A7B #602A7B
triadic
#372A7B #7B372A #2A7B37
tetradic
#372A7B #7B2A45 #6E7B2A #2A7B60
square
#372A7B #7B2A45 #6E7B2A #2A7B60
split-complementary
#372A7B #7B602A #457B2A
monochromatic
#0E0B20 #231A4D #372A7B #4B3AA9 #6B59C6
Accessibility & contrast
On white
11.80
#372A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#372A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372A7B
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372A7B | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#1B3E4E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #372a7b; /* rgb */ color: rgb(55, 42, 123); /* oklch */ color: oklch(35.1% 0.131 284.7);
Tailwind
colors: {
custom: {
50: '#7564a2',
500: '#372a7b',
950: '#000000',
},
}SCSS
$custom: #372a7b; $custom-light: #7564a2; $custom-dark: #000000;
JSON
{
"hex": "#372a7b",
"rgb": {
"r": 55,
"g": 42,
"b": 123
},
"hsl": {
"h": 249.63,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.35144,
"c": 0.1314,
"h": 284.7
},
"luminance": 0.03898
}Semantic roles & 50–950 ramp
primary
#372A7B
secondary
#9EAC55
accent
#D94FC3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09050F
muted
#7B7A7F