#372BA2#372BA2
#372BA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.182 H 278.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA2 |
|---|---|
| RGB | rgb(55, 43, 162) |
| HSL | hsl(246, 58%, 40%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(66%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(27.15, 41.55, -62.21) |
| CIE-LCH | lch(27.15, 74.81, 303.74°) |
| OKLab | oklab(38.99% 0.0264 -0.1796) |
| OKLCH | oklch(38.99% 0.182 278.3) |
| XYZ | xyz(8.9589, 5.1479, 34.6969) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.71
Royal
#0C1793
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 6.44
Ultramarine
#2000B1
ΔE00 6.55
True Blue
#010FCC
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA2 #96A22B
analogous
#2B5BA2 #372BA2 #722BA2
triadic
#372BA2 #A2372B #2BA237
tetradic
#372BA2 #A22B5B #96A22B #2BA272
square
#372BA2 #A22B5B #96A22B #2BA272
split-complementary
#372BA2 #A2722B #5BA22B
monochromatic
#161141 #271E72 #372BA2 #4D3ECC #796FD9
Accessibility & contrast
On white
10.35
#372BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#372BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA2
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA2 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372ba2; /* rgb */ color: rgb(55, 43, 162); /* oklch */ color: oklch(39.0% 0.182 278.3);
Tailwind
colors: {
custom: {
50: '#7c66bf',
500: '#372ba2',
950: '#000000',
},
}SCSS
$custom: #372ba2; $custom-light: #7c66bf; $custom-dark: #000000;
JSON
{
"hex": "#372ba2",
"rgb": {
"r": 55,
"g": 43,
"b": 162
},
"hsl": {
"h": 246.05,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.38994,
"c": 0.18152,
"h": 278.3
},
"luminance": 0.05149
}Semantic roles & 50–950 ramp
primary
#372BA2
secondary
#B7C069
accent
#E147D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81