#372BA3#372BA3
#372BA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.183 H 278.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA3 |
|---|---|
| RGB | rgb(55, 43, 163) |
| HSL | hsl(246, 58%, 40%) |
| HSV | hsv(246, 74%, 64%) |
| CMYK | cmyk(66.3%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(27.25, 41.87, -62.65) |
| CIE-LCH | lch(27.25, 75.36, 303.76°) |
| OKLab | oklab(39.1% 0.0262 -0.1809) |
| OKLCH | oklch(39.1% 0.183 278.2) |
| XYZ | xyz(9.0482, 5.1836, 35.1669) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.68
Royal
#0C1793
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.51
True Blue
#010FCC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA3 #97A32B
analogous
#2B5BA3 #372BA3 #732BA3
triadic
#372BA3 #A3372B #2BA337
tetradic
#372BA3 #A32B5B #97A32B #2BA373
square
#372BA3 #A32B5B #97A32B #2BA373
split-complementary
#372BA3 #A3732B #5BA32B
monochromatic
#161142 #271E73 #372BA3 #4D3FCC #7A6FD9
Accessibility & contrast
On white
10.31
#372BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#372BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA3
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA3 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372ba3; /* rgb */ color: rgb(55, 43, 163); /* oklch */ color: oklch(39.1% 0.183 278.2);
Tailwind
colors: {
custom: {
50: '#7d66bf',
500: '#372ba3',
950: '#000000',
},
}SCSS
$custom: #372ba3; $custom-light: #7d66bf; $custom-dark: #000000;
JSON
{
"hex": "#372ba3",
"rgb": {
"r": 55,
"g": 43,
"b": 163
},
"hsl": {
"h": 246,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.39095,
"c": 0.18278,
"h": 278.2
},
"luminance": 0.05184
}Semantic roles & 50–950 ramp
primary
#372BA3
secondary
#B8C06A
accent
#E146D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81