#372CA6#372CA6
#372CA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.185 H 277.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #372CA6 |
|---|---|
| RGB | rgb(55, 44, 166) |
| HSL | hsl(245, 58%, 41%) |
| HSV | hsv(245, 73%, 65%) |
| CMYK | cmyk(66.9%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.75, 42.28, -63.64) |
| CIE-LCH | lch(27.75, 76.40, 303.60°) |
| OKLab | oklab(39.54% 0.0249 -0.1838) |
| OKLCH | oklch(39.54% 0.185 277.7) |
| XYZ | xyz(9.3569, 5.3660, 36.6116) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.41
Royal
#0C1793
ΔE00 6.17
True Blue
#010FCC
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.50
Cobalt Blue
#030AA7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372CA6 #9BA62C
analogous
#2C5EA6 #372CA6 #742CA6
triadic
#372CA6 #A6372C #2CA637
tetradic
#372CA6 #A62C5E #9BA62C #2CA674
square
#372CA6 #A62C5E #9BA62C #2CA674
split-complementary
#372CA6 #A6742C #5EA62C
monochromatic
#171245 #271F76 #372CA6 #4F42CD #7C73DA
Accessibility & contrast
On white
10.13
#372CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#372CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372CA6
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372CA6 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #372ca6; /* rgb */ color: rgb(55, 44, 166); /* oklch */ color: oklch(39.5% 0.185 277.7);
Tailwind
colors: {
custom: {
50: '#7d67c2',
500: '#372ca6',
950: '#000000',
},
}SCSS
$custom: #372ca6; $custom-light: #7d67c2; $custom-dark: #000000;
JSON
{
"hex": "#372ca6",
"rgb": {
"r": 55,
"g": 44,
"b": 166
},
"hsl": {
"h": 245.41,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39541,
"c": 0.18547,
"h": 277.7
},
"luminance": 0.05367
}Semantic roles & 50–950 ramp
primary
#372CA6
secondary
#BAC16D
accent
#E146D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81