#372AA6#372AA6
#372AA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.188 H 278.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #372AA6 |
|---|---|
| RGB | rgb(55, 42, 166) |
| HSL | hsl(246, 60%, 41%) |
| HSV | hsv(246, 75%, 65%) |
| CMYK | cmyk(66.9%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(27.35, 43.40, -64.30) |
| CIE-LCH | lch(27.35, 77.57, 304.02°) |
| OKLab | oklab(39.26% 0.0262 -0.1857) |
| OKLCH | oklch(39.26% 0.188 278) |
| XYZ | xyz(9.2842, 5.2205, 36.5874) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 4.82
Royal
#0C1793
ΔE00 5.86
True Blue
#010FCC
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.19
Cobalt Blue
#030AA7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372AA6 #99A62A
analogous
#2A5BA6 #372AA6 #752AA6
triadic
#372AA6 #A6372A #2AA637
tetradic
#372AA6 #A62A5B #99A62A #2AA675
square
#372AA6 #A62A5B #99A62A #2AA675
split-complementary
#372AA6 #A6752A #5BA62A
monochromatic
#171144 #271E75 #372AA6 #4E3FCE #7B70DB
Accessibility & contrast
On white
10.27
#372AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#372AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372AA6
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372AA6 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372aa6; /* rgb */ color: rgb(55, 42, 166); /* oklch */ color: oklch(39.3% 0.188 278.0);
Tailwind
colors: {
custom: {
50: '#7d66c2',
500: '#372aa6',
950: '#000000',
},
}SCSS
$custom: #372aa6; $custom-light: #7d66c2; $custom-dark: #000000;
JSON
{
"hex": "#372aa6",
"rgb": {
"r": 55,
"g": 42,
"b": 166
},
"hsl": {
"h": 246.29,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.39258,
"c": 0.18752,
"h": 278
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#372AA6
secondary
#B9C26A
accent
#E345D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81