#372CA4#372CA4
#372CA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.183 H 277.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #372CA4 |
|---|---|
| RGB | rgb(55, 44, 164) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(66.5%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(27.55, 41.63, -62.76) |
| CIE-LCH | lch(27.55, 75.31, 303.56°) |
| OKLab | oklab(39.34% 0.0253 -0.1812) |
| OKLCH | oklch(39.34% 0.183 277.9) |
| XYZ | xyz(9.1749, 5.2932, 35.6529) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 4.45
Royal
#0C1793
ΔE00 6.06
True Blue
#010FCC
ΔE00 6.57
Blueberry
#464196
ΔE00 6.60
Ocean Blue
#4F42B5
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372CA4 #99A42C
analogous
#2C5DA4 #372CA4 #732CA4
triadic
#372CA4 #A4372C #2CA437
tetradic
#372CA4 #A42C5D #99A42C #2CA473
square
#372CA4 #A42C5D #99A42C #2CA473
split-complementary
#372CA4 #A4732C #5DA42C
monochromatic
#171243 #271F74 #372CA4 #4E41CC #7B71D9
Accessibility & contrast
On white
10.20
#372CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#372CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372CA4
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372CA4 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ca4; /* rgb */ color: rgb(55, 44, 164); /* oklch */ color: oklch(39.3% 0.183 277.9);
Tailwind
colors: {
custom: {
50: '#7d67c0',
500: '#372ca4',
950: '#000000',
},
}SCSS
$custom: #372ca4; $custom-light: #7d67c0; $custom-dark: #000000;
JSON
{
"hex": "#372ca4",
"rgb": {
"r": 55,
"g": 44,
"b": 164
},
"hsl": {
"h": 245.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.3934,
"c": 0.18297,
"h": 277.9
},
"luminance": 0.05294
}Semantic roles & 50–950 ramp
primary
#372CA4
secondary
#B9C06B
accent
#E147D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81