#372BA4#372BA4
#372BA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.184 H 278.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA4 |
|---|---|
| RGB | rgb(55, 43, 164) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 74%, 64%) |
| CMYK | cmyk(66.5%, 73.8%, 0%, 35.7%) |
| CIE-LAB | lab(27.35, 42.20, -63.09) |
| CIE-LCH | lch(27.35, 75.90, 303.78°) |
| OKLab | oklab(39.2% 0.026 -0.1822) |
| OKLCH | oklch(39.2% 0.184 278.1) |
| XYZ | xyz(9.1381, 5.2195, 35.6407) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 4.66
Royal
#0C1793
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.42
True Blue
#010FCC
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA4 #98A42B
analogous
#2B5CA4 #372BA4 #732BA4
triadic
#372BA4 #A4372B #2BA437
tetradic
#372BA4 #A42B5C #98A42B #2BA473
square
#372BA4 #A42B5C #98A42B #2BA473
split-complementary
#372BA4 #A4732B #5CA42B
monochromatic
#161243 #271E74 #372BA4 #4D3FCD #7A70D9
Accessibility & contrast
On white
10.27
#372BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#372BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA4
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA4 | 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)
#0045A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ba4; /* rgb */ color: rgb(55, 43, 164); /* oklch */ color: oklch(39.2% 0.184 278.1);
Tailwind
colors: {
custom: {
50: '#7d66c0',
500: '#372ba4',
950: '#000000',
},
}SCSS
$custom: #372ba4; $custom-light: #7d66c0; $custom-dark: #000000;
JSON
{
"hex": "#372ba4",
"rgb": {
"r": 55,
"g": 43,
"b": 164
},
"hsl": {
"h": 245.95,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.39196,
"c": 0.18402,
"h": 278.1
},
"luminance": 0.0522
}Semantic roles & 50–950 ramp
primary
#372BA4
secondary
#B8C16A
accent
#E246D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81