#372CA5#372CA5
#372CA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.184 H 277.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #372CA5 |
|---|---|
| RGB | rgb(55, 44, 165) |
| HSL | hsl(245, 58%, 41%) |
| HSV | hsv(245, 73%, 65%) |
| CMYK | cmyk(66.7%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(27.65, 41.96, -63.20) |
| CIE-LCH | lch(27.65, 75.86, 303.58°) |
| OKLab | oklab(39.44% 0.0251 -0.1825) |
| OKLCH | oklch(39.44% 0.184 277.8) |
| XYZ | xyz(9.2656, 5.3294, 36.1304) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.43
Royal
#0C1793
ΔE00 6.11
True Blue
#010FCC
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372CA5 #9AA52C
analogous
#2C5DA5 #372CA5 #732CA5
triadic
#372CA5 #A5372C #2CA537
tetradic
#372CA5 #A52C5D #9AA52C #2CA573
square
#372CA5 #A52C5D #9AA52C #2CA573
split-complementary
#372CA5 #A5732C #5DA52C
monochromatic
#171244 #271F75 #372CA5 #4E42CD #7B72D9
Accessibility & contrast
On white
10.16
#372CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#372CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372CA5
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372CA5 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ca5; /* rgb */ color: rgb(55, 44, 165); /* oklch */ color: oklch(39.4% 0.184 277.8);
Tailwind
colors: {
custom: {
50: '#7d67c1',
500: '#372ca5',
950: '#000000',
},
}SCSS
$custom: #372ca5; $custom-light: #7d67c1; $custom-dark: #000000;
JSON
{
"hex": "#372ca5",
"rgb": {
"r": 55,
"g": 44,
"b": 165
},
"hsl": {
"h": 245.455,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.3944,
"c": 0.18422,
"h": 277.8
},
"luminance": 0.0533
}Semantic roles & 50–950 ramp
primary
#372CA5
secondary
#B9C16C
accent
#E147D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81