#372FA4#372FA4
#372FA4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.180 H 277.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #372FA4 |
|---|---|
| RGB | rgb(55, 47, 164) |
| HSL | hsl(244, 55%, 41%) |
| HSV | hsv(244, 71%, 64%) |
| CMYK | cmyk(66.5%, 71.3%, 0%, 35.7%) |
| CIE-LAB | lab(28.18, 39.89, -61.73) |
| CIE-LCH | lch(28.18, 73.50, 302.87°) |
| OKLab | oklab(39.79% 0.0233 -0.1782) |
| OKLCH | oklch(39.79% 0.18 277.4) |
| XYZ | xyz(9.2907, 5.5248, 35.6915) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.83
Indigo Blue
#3A18B1
ΔE00 4.86
Blueberry
#464196
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 6.50
Royal
#0C1793
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372FA4 #9CA42F
analogous
#2F62A4 #372FA4 #722FA4
triadic
#372FA4 #A4372F #2FA437
tetradic
#372FA4 #A42F62 #9CA42F #2FA472
square
#372FA4 #A42F62 #9CA42F #2FA472
split-complementary
#372FA4 #A4722F #62A42F
monochromatic
#171445 #272174 #372FA4 #4F46CA #7C76D8
Accessibility & contrast
On white
9.98
#372FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#372FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372FA4
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372FA4 | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #372fa4; /* rgb */ color: rgb(55, 47, 164); /* oklch */ color: oklch(39.8% 0.180 277.4);
Tailwind
colors: {
custom: {
50: '#7c69c0',
500: '#372fa4',
950: '#000000',
},
}SCSS
$custom: #372fa4; $custom-light: #7c69c0; $custom-dark: #000000;
JSON
{
"hex": "#372fa4",
"rgb": {
"r": 55,
"g": 47,
"b": 164
},
"hsl": {
"h": 244.103,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.39787,
"c": 0.17973,
"h": 277.4
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#372FA4
secondary
#BAC06F
accent
#DF49D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81