#372BA7#372BA7
#372BA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.188 H 277.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA7 |
|---|---|
| RGB | rgb(55, 43, 167) |
| HSL | hsl(246, 59%, 41%) |
| HSV | hsv(246, 74%, 65%) |
| CMYK | cmyk(67.1%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(27.65, 43.17, -64.41) |
| CIE-LCH | lch(27.65, 77.53, 303.83°) |
| OKLab | oklab(39.5% 0.0253 -0.186) |
| OKLCH | oklch(39.5% 0.188 277.8) |
| XYZ | xyz(9.4122, 5.3292, 37.0844) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.60
Royal
#0C1793
ΔE00 6.08
True Blue
#010FCC
ΔE00 6.13
Ultramarine
#2000B1
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA7 #9BA72B
analogous
#2B5DA7 #372BA7 #752BA7
triadic
#372BA7 #A7372B #2BA737
tetradic
#372BA7 #A72B5D #9BA72B #2BA775
square
#372BA7 #A72B5D #9BA72B #2BA775
split-complementary
#372BA7 #A7752B #5DA72B
monochromatic
#171246 #271E76 #372BA7 #4F41CE #7C72DB
Accessibility & contrast
On white
10.16
#372BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#372BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA7
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA7 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372ba7; /* rgb */ color: rgb(55, 43, 167); /* oklch */ color: oklch(39.5% 0.188 277.8);
Tailwind
colors: {
custom: {
50: '#7d66c2',
500: '#372ba7',
950: '#000000',
},
}SCSS
$custom: #372ba7; $custom-light: #7d66c2; $custom-dark: #000000;
JSON
{
"hex": "#372ba7",
"rgb": {
"r": 55,
"g": 43,
"b": 167
},
"hsl": {
"h": 245.806,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.395,
"c": 0.18775,
"h": 277.8
},
"luminance": 0.0533
}Semantic roles & 50–950 ramp
primary
#372BA7
secondary
#BAC26C
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82