#372CA2#372CA2
#372CA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.180 H 278.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #372CA2 |
|---|---|
| RGB | rgb(55, 44, 162) |
| HSL | hsl(246, 57%, 40%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(66%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(27.36, 40.98, -61.87) |
| CIE-LCH | lch(27.36, 74.21, 303.52°) |
| OKLab | oklab(39.14% 0.0257 -0.1786) |
| OKLCH | oklch(39.14% 0.18 278.2) |
| XYZ | xyz(8.9957, 5.2215, 34.7092) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.30
Sapphire (survey)
#2138AB
ΔE00 4.51
Royal
#0C1793
ΔE00 5.96
Blueberry
#464196
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.65
Ocean Blue
#4F42B5
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372CA2 #97A22C
analogous
#2C5CA2 #372CA2 #722CA2
triadic
#372CA2 #A2372C #2CA237
tetradic
#372CA2 #A22C5C #97A22C #2CA272
square
#372CA2 #A22C5C #97A22C #2CA272
split-complementary
#372CA2 #A2722C #5CA22C
monochromatic
#161242 #271F72 #372CA2 #4D40CB #7A70D8
Accessibility & contrast
On white
10.27
#372CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#372CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372CA2
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372CA2 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ca2; /* rgb */ color: rgb(55, 44, 162); /* oklch */ color: oklch(39.1% 0.180 278.2);
Tailwind
colors: {
custom: {
50: '#7c67bf',
500: '#372ca2',
950: '#000000',
},
}SCSS
$custom: #372ca2; $custom-light: #7c67bf; $custom-dark: #000000;
JSON
{
"hex": "#372ca2",
"rgb": {
"r": 55,
"g": 44,
"b": 162
},
"hsl": {
"h": 245.593,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.3914,
"c": 0.18046,
"h": 278.2
},
"luminance": 0.05222
}Semantic roles & 50–950 ramp
primary
#372CA2
secondary
#B8BF6A
accent
#E147D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81