#372CA3#372CA3
#372CA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.182 H 278.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #372CA3 |
|---|---|
| RGB | rgb(55, 44, 163) |
| HSL | hsl(246, 57%, 41%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(66.3%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(27.46, 41.30, -62.31) |
| CIE-LCH | lch(27.46, 74.76, 303.54°) |
| OKLab | oklab(39.24% 0.0255 -0.1799) |
| OKLCH | oklch(39.24% 0.182 278.1) |
| XYZ | xyz(9.0850, 5.2572, 35.1792) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.48
Royal
#0C1793
ΔE00 6.01
Blueberry
#464196
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372CA3 #98A32C
analogous
#2C5CA3 #372CA3 #722CA3
triadic
#372CA3 #A3372C #2CA337
tetradic
#372CA3 #A32C5C #98A32C #2CA372
square
#372CA3 #A32C5C #98A32C #2CA372
split-complementary
#372CA3 #A3722C #5CA32C
monochromatic
#161243 #271F73 #372CA3 #4D41CC #7A71D9
Accessibility & contrast
On white
10.24
#372CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#372CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372CA3
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372CA3 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ca3; /* rgb */ color: rgb(55, 44, 163); /* oklch */ color: oklch(39.2% 0.182 278.1);
Tailwind
colors: {
custom: {
50: '#7c67bf',
500: '#372ca3',
950: '#000000',
},
}SCSS
$custom: #372ca3; $custom-light: #7c67bf; $custom-dark: #000000;
JSON
{
"hex": "#372ca3",
"rgb": {
"r": 55,
"g": 44,
"b": 163
},
"hsl": {
"h": 245.546,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.3924,
"c": 0.18172,
"h": 278.1
},
"luminance": 0.05258
}Semantic roles & 50–950 ramp
primary
#372CA3
secondary
#B8C06B
accent
#E147D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81