#372E9D#372E9D
#372E9D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.172 H 278.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #372E9D |
|---|---|
| RGB | rgb(55, 46, 157) |
| HSL | hsl(245, 55%, 40%) |
| HSV | hsv(245, 71%, 62%) |
| CMYK | cmyk(65%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(27.30, 38.16, -58.93) |
| CIE-LCH | lch(27.30, 70.21, 302.93°) |
| OKLab | oklab(38.95% 0.0252 -0.17) |
| OKLCH | oklch(38.95% 0.172 278.4) |
| XYZ | xyz(8.6364, 5.1998, 32.4403) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 5.16
Blueberry
#464196
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.05
Royal
#0C1793
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372E9D #949D2E
analogous
#2E5C9D #372E9D #6F2E9D
triadic
#372E9D #9D372E #2E9D37
tetradic
#372E9D #9D2E5C #949D2E #2E9D6F
square
#372E9D #9D2E5C #949D2E #2E9D6F
split-complementary
#372E9D #9D6F2E #5C9D2E
monochromatic
#16123E #26206E #372E9D #4C41C7 #7870D5
Accessibility & contrast
On white
10.29
#372E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#372E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372E9D
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372E9D | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372e9d; /* rgb */ color: rgb(55, 46, 157); /* oklch */ color: oklch(39.0% 0.172 278.4);
Tailwind
colors: {
custom: {
50: '#7b68bb',
500: '#372e9d',
950: '#000000',
},
}SCSS
$custom: #372e9d; $custom-light: #7b68bb; $custom-dark: #000000;
JSON
{
"hex": "#372e9d",
"rgb": {
"r": 55,
"g": 46,
"b": 157
},
"hsl": {
"h": 244.865,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.3895,
"c": 0.17188,
"h": 278.4
},
"luminance": 0.05201
}Semantic roles & 50–950 ramp
primary
#372E9D
secondary
#B6BD6A
accent
#DE4AD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81