#372AA5#372AA5
#372AA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.186 H 278.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #372AA5 |
|---|---|
| RGB | rgb(55, 42, 165) |
| HSL | hsl(246, 59%, 41%) |
| HSV | hsv(246, 75%, 65%) |
| CMYK | cmyk(66.7%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(27.25, 43.08, -63.86) |
| CIE-LCH | lch(27.25, 77.03, 304.00°) |
| OKLab | oklab(39.16% 0.0264 -0.1844) |
| OKLCH | oklch(39.16% 0.186 278.1) |
| XYZ | xyz(9.1929, 5.1840, 36.1062) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.66
Sapphire (survey)
#2138AB
ΔE00 4.84
Royal
#0C1793
ΔE00 5.80
True Blue
#010FCC
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372AA5 #98A52A
analogous
#2A5BA5 #372AA5 #742AA5
triadic
#372AA5 #A5372A #2AA537
tetradic
#372AA5 #A52A5B #98A52A #2AA574
square
#372AA5 #A52A5B #98A52A #2AA574
split-complementary
#372AA5 #A5742A #5BA52A
monochromatic
#161143 #271E74 #372AA5 #4D3ECE #7A6FDA
Accessibility & contrast
On white
10.31
#372AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#372AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372AA5
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372AA5 | 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)
#0045A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372aa5; /* rgb */ color: rgb(55, 42, 165); /* oklch */ color: oklch(39.2% 0.186 278.1);
Tailwind
colors: {
custom: {
50: '#7d66c1',
500: '#372aa5',
950: '#000000',
},
}SCSS
$custom: #372aa5; $custom-light: #7d66c1; $custom-dark: #000000;
JSON
{
"hex": "#372aa5",
"rgb": {
"r": 55,
"g": 42,
"b": 165
},
"hsl": {
"h": 246.341,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.39156,
"c": 0.1863,
"h": 278.1
},
"luminance": 0.05185
}Semantic roles & 50–950 ramp
primary
#372AA5
secondary
#B8C169
accent
#E345D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81