#372A9A#372A9A
#372A9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.173 H 279.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #372A9A |
|---|---|
| RGB | rgb(55, 42, 154) |
| HSL | hsl(247, 57%, 38%) |
| HSV | hsv(247, 73%, 60%) |
| CMYK | cmyk(64.3%, 72.7%, 0%, 39.6%) |
| CIE-LAB | lab(26.16, 39.52, -58.97) |
| CIE-LCH | lch(26.16, 70.99, 303.83°) |
| OKLab | oklab(38.05% 0.0287 -0.1701) |
| OKLCH | oklch(38.05% 0.173 279.6) |
| XYZ | xyz(8.2344, 4.8006, 31.0583) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 5.30
Royal
#0C1793
ΔE00 5.33
Cobalt Blue
#030AA7
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.57
Blueberry
#464196
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372A9A #8D9A2A
analogous
#2A559A #372A9A #6F2A9A
triadic
#372A9A #9A372A #2A9A37
tetradic
#372A9A #9A2A55 #8D9A2A #2A9A6F
square
#372A9A #9A2A55 #8D9A2A #2A9A6F
split-complementary
#372A9A #9A6F2A #559A2A
monochromatic
#15103A #261D6A #372A9A #4938C9 #7568D6
Accessibility & contrast
On white
10.71
#372A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#372A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372A9A
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372A9A | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #372a9a; /* rgb */ color: rgb(55, 42, 154); /* oklch */ color: oklch(38.0% 0.173 279.6);
Tailwind
colors: {
custom: {
50: '#7b65b9',
500: '#372a9a',
950: '#000000',
},
}SCSS
$custom: #372a9a; $custom-light: #7b65b9; $custom-dark: #000000;
JSON
{
"hex": "#372a9a",
"rgb": {
"r": 55,
"g": 42,
"b": 154
},
"hsl": {
"h": 246.964,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.38049,
"c": 0.17253,
"h": 279.6
},
"luminance": 0.04801
}Semantic roles & 50–950 ramp
primary
#372A9A
secondary
#B2BC63
accent
#E047CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81