#372CA7#372CA7
#372CA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.187 H 277.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #372CA7 |
|---|---|
| RGB | rgb(55, 44, 167) |
| HSL | hsl(245, 58%, 41%) |
| HSV | hsv(245, 74%, 65%) |
| CMYK | cmyk(67.1%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(27.85, 42.60, -64.08) |
| CIE-LCH | lch(27.85, 76.95, 303.62°) |
| OKLab | oklab(39.64% 0.0247 -0.1851) |
| OKLCH | oklch(39.64% 0.187 277.6) |
| XYZ | xyz(9.4490, 5.4028, 37.0966) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.40
Royal
#0C1793
ΔE00 6.24
True Blue
#010FCC
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372CA7 #9CA72C
analogous
#2C5FA7 #372CA7 #752CA7
triadic
#372CA7 #A7372C #2CA737
tetradic
#372CA7 #A72C5F #9CA72C #2CA775
square
#372CA7 #A72C5F #9CA72C #2CA775
split-complementary
#372CA7 #A7752C #5FA72C
monochromatic
#171246 #271F77 #372CA7 #4F43CD #7C73DA
Accessibility & contrast
On white
10.09
#372CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#372CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372CA7
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372CA7 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #372ca7; /* rgb */ color: rgb(55, 44, 167); /* oklch */ color: oklch(39.6% 0.187 277.6);
Tailwind
colors: {
custom: {
50: '#7d67c2',
500: '#372ca7',
950: '#000000',
},
}SCSS
$custom: #372ca7; $custom-light: #7d67c2; $custom-dark: #000000;
JSON
{
"hex": "#372ca7",
"rgb": {
"r": 55,
"g": 44,
"b": 167
},
"hsl": {
"h": 245.366,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39642,
"c": 0.18671,
"h": 277.6
},
"luminance": 0.05404
}Semantic roles & 50–950 ramp
primary
#372CA7
secondary
#BAC26D
accent
#E246D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82