#372BA1#372BA1
#372BA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.180 H 278.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA1 |
|---|---|
| RGB | rgb(55, 43, 161) |
| HSL | hsl(246, 58%, 40%) |
| HSV | hsv(246, 73%, 63%) |
| CMYK | cmyk(65.8%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(27.05, 41.22, -61.76) |
| CIE-LCH | lch(27.05, 74.26, 303.72°) |
| OKLab | oklab(38.89% 0.0266 -0.1783) |
| OKLCH | oklch(38.89% 0.18 278.5) |
| XYZ | xyz(8.8704, 5.1125, 34.2307) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.75
Royal
#0C1793
ΔE00 5.74
Cobalt Blue
#030AA7
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.60
Blueberry
#464196
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA1 #95A12B
analogous
#2B5AA1 #372BA1 #722BA1
triadic
#372BA1 #A1372B #2BA137
tetradic
#372BA1 #A12B5A #95A12B #2BA172
square
#372BA1 #A12B5A #95A12B #2BA172
split-complementary
#372BA1 #A1722B #5AA12B
monochromatic
#161140 #271E71 #372BA1 #4C3ECB #796ED8
Accessibility & contrast
On white
10.38
#372BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#372BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA1
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA1 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372ba1; /* rgb */ color: rgb(55, 43, 161); /* oklch */ color: oklch(38.9% 0.180 278.5);
Tailwind
colors: {
custom: {
50: '#7c66be',
500: '#372ba1',
950: '#000000',
},
}SCSS
$custom: #372ba1; $custom-light: #7c66be; $custom-dark: #000000;
JSON
{
"hex": "#372ba1",
"rgb": {
"r": 55,
"g": 43,
"b": 161
},
"hsl": {
"h": 246.102,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38894,
"c": 0.18028,
"h": 278.5
},
"luminance": 0.05113
}Semantic roles & 50–950 ramp
primary
#372BA1
secondary
#B6BF69
accent
#E147D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81