#372EA4#372EA4
#372EA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.181 H 277.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #372EA4 |
|---|---|
| RGB | rgb(55, 46, 164) |
| HSL | hsl(245, 56%, 41%) |
| HSV | hsv(245, 72%, 64%) |
| CMYK | cmyk(66.5%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(27.97, 40.48, -62.07) |
| CIE-LCH | lch(27.97, 74.11, 303.11°) |
| OKLab | oklab(39.64% 0.024 -0.1792) |
| OKLCH | oklch(39.64% 0.181 277.6) |
| XYZ | xyz(9.2512, 5.4458, 35.6784) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.62
Blueberry
#464196
ΔE00 6.17
Ocean Blue
#4F42B5
ΔE00 6.24
Royal
#0C1793
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372EA4 #9BA42E
analogous
#2E60A4 #372EA4 #722EA4
triadic
#372EA4 #A4372E #2EA437
tetradic
#372EA4 #A42E60 #9BA42E #2EA472
square
#372EA4 #A42E60 #9BA42E #2EA472
split-complementary
#372EA4 #A4722E #60A42E
monochromatic
#171344 #272174 #372EA4 #4F45CB #7C74D8
Accessibility & contrast
On white
10.05
#372EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#372EA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372EA4
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372EA4 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #372ea4; /* rgb */ color: rgb(55, 46, 164); /* oklch */ color: oklch(39.6% 0.181 277.6);
Tailwind
colors: {
custom: {
50: '#7c68c0',
500: '#372ea4',
950: '#000000',
},
}SCSS
$custom: #372ea4; $custom-light: #7c68c0; $custom-dark: #000000;
JSON
{
"hex": "#372ea4",
"rgb": {
"r": 55,
"g": 46,
"b": 164
},
"hsl": {
"h": 244.576,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.39635,
"c": 0.18082,
"h": 277.6
},
"luminance": 0.05447
}Semantic roles & 50–950 ramp
primary
#372EA4
secondary
#BAC06E
accent
#DF48D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81