#372FA0#372FA0
#372FA0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.175 H 277.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #372FA0 |
|---|---|
| RGB | rgb(55, 47, 160) |
| HSL | hsl(244, 55%, 41%) |
| HSV | hsv(244, 71%, 63%) |
| CMYK | cmyk(65.6%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(27.80, 38.56, -59.93) |
| CIE-LCH | lch(27.80, 71.27, 302.76°) |
| OKLab | oklab(39.4% 0.0239 -0.173) |
| OKLCH | oklch(39.4% 0.175 277.9) |
| XYZ | xyz(8.9352, 5.3826, 33.8190) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.98
Indigo Blue
#3A18B1
ΔE00 5.14
Blueberry
#464196
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.13
Ocean Blue
#4F42B5
ΔE00 6.31
Royal
#0C1793
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372FA0 #98A02F
analogous
#2F5FA0 #372FA0 #6F2FA0
triadic
#372FA0 #A0372F #2FA037
tetradic
#372FA0 #A02F5F #98A02F #2FA06F
square
#372FA0 #A02F5F #98A02F #2FA06F
split-complementary
#372FA0 #A06F2F #5FA02F
monochromatic
#161341 #272171 #372FA0 #4D44C8 #7A73D6
Accessibility & contrast
On white
10.11
#372FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#372FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372FA0
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372FA0 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #372fa0; /* rgb */ color: rgb(55, 47, 160); /* oklch */ color: oklch(39.4% 0.175 277.9);
Tailwind
colors: {
custom: {
50: '#7c69bd',
500: '#372fa0',
950: '#000000',
},
}SCSS
$custom: #372fa0; $custom-light: #7c69bd; $custom-dark: #000000;
JSON
{
"hex": "#372fa0",
"rgb": {
"r": 55,
"g": 47,
"b": 160
},
"hsl": {
"h": 244.248,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.39396,
"c": 0.17461,
"h": 277.9
},
"luminance": 0.05383
}Semantic roles & 50–950 ramp
primary
#372FA0
secondary
#B8BE6D
accent
#DE4AD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81