#372D9C#372D9C
#372D9C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.172 H 278.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #372D9C |
|---|---|
| RGB | rgb(55, 45, 156) |
| HSL | hsl(245, 55%, 39%) |
| HSV | hsv(245, 71%, 61%) |
| CMYK | cmyk(64.7%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.99, 38.42, -58.83) |
| CIE-LCH | lch(26.99, 70.27, 303.15°) |
| OKLab | oklab(38.7% 0.0261 -0.1697) |
| OKLCH | oklch(38.7% 0.172 278.7) |
| XYZ | xyz(8.5128, 5.0886, 31.9796) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Indigo Blue
#3A18B1
ΔE00 5.03
Royal
#0C1793
ΔE00 5.93
Blueberry
#464196
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372D9C #929C2D
analogous
#2D5B9C #372D9C #6E2D9C
triadic
#372D9C #9C372D #2D9C37
tetradic
#372D9C #9C2D5B #929C2D #2D9C6E
square
#372D9C #9C2D5B #929C2D #2D9C6E
split-complementary
#372D9C #9C6E2D #5B9C2D
monochromatic
#16123D #261F6D #372D9C #4B3FC8 #776ED5
Accessibility & contrast
On white
10.41
#372D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#372D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372D9C
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372D9C | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372d9c; /* rgb */ color: rgb(55, 45, 156); /* oklch */ color: oklch(38.7% 0.172 278.7);
Tailwind
colors: {
custom: {
50: '#7b67ba',
500: '#372d9c',
950: '#000000',
},
}SCSS
$custom: #372d9c; $custom-light: #7b67ba; $custom-dark: #000000;
JSON
{
"hex": "#372d9c",
"rgb": {
"r": 55,
"g": 45,
"b": 156
},
"hsl": {
"h": 245.405,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38698,
"c": 0.17173,
"h": 278.7
},
"luminance": 0.05089
}Semantic roles & 50–950 ramp
primary
#372D9C
secondary
#B5BC68
accent
#DF49D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81