#372BA5#372BA5
#372BA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.185 H 278.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA5 |
|---|---|
| RGB | rgb(55, 43, 165) |
| HSL | hsl(246, 59%, 41%) |
| HSV | hsv(246, 74%, 65%) |
| CMYK | cmyk(66.7%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(27.45, 42.52, -63.53) |
| CIE-LCH | lch(27.45, 76.45, 303.79°) |
| OKLab | oklab(39.3% 0.0258 -0.1835) |
| OKLCH | oklch(39.3% 0.185 278) |
| XYZ | xyz(9.2288, 5.2558, 36.1181) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.64
Royal
#0C1793
ΔE00 5.95
True Blue
#010FCC
ΔE00 6.32
Cobalt Blue
#030AA7
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA5 #99A52B
analogous
#2B5CA5 #372BA5 #742BA5
triadic
#372BA5 #A5372B #2BA537
tetradic
#372BA5 #A52B5C #99A52B #2BA574
square
#372BA5 #A52B5C #99A52B #2BA574
split-complementary
#372BA5 #A5742B #5CA52B
monochromatic
#171244 #271E74 #372BA5 #4E40CD #7B71DA
Accessibility & contrast
On white
10.24
#372BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#372BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA5
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA5 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ba5; /* rgb */ color: rgb(55, 43, 165); /* oklch */ color: oklch(39.3% 0.185 278.0);
Tailwind
colors: {
custom: {
50: '#7d66c1',
500: '#372ba5',
950: '#000000',
},
}SCSS
$custom: #372ba5; $custom-light: #7d66c1; $custom-dark: #000000;
JSON
{
"hex": "#372ba5",
"rgb": {
"r": 55,
"g": 43,
"b": 165
},
"hsl": {
"h": 245.902,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.39297,
"c": 0.18527,
"h": 278
},
"luminance": 0.05257
}Semantic roles & 50–950 ramp
primary
#372BA5
secondary
#B9C16B
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81