#372BA8#372BA8
#372BA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.189 H 277.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #372BA8 |
|---|---|
| RGB | rgb(55, 43, 168) |
| HSL | hsl(246, 59%, 41%) |
| HSV | hsv(246, 74%, 66%) |
| CMYK | cmyk(67.3%, 74.4%, 0%, 34.1%) |
| CIE-LAB | lab(27.75, 43.49, -64.84) |
| CIE-LCH | lch(27.75, 78.08, 303.85°) |
| OKLab | oklab(39.6% 0.0251 -0.1873) |
| OKLCH | oklch(39.6% 0.189 277.6) |
| XYZ | xyz(9.5050, 5.3663, 37.5731) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.59
True Blue
#010FCC
ΔE00 6.03
Royal
#0C1793
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.36
Cobalt Blue
#030AA7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372BA8 #9CA82B
analogous
#2B5EA8 #372BA8 #762BA8
triadic
#372BA8 #A8372B #2BA837
tetradic
#372BA8 #A82B5E #9CA82B #2BA876
square
#372BA8 #A82B5E #9CA82B #2BA876
split-complementary
#372BA8 #A8762B #5EA82B
monochromatic
#171247 #271F77 #372BA8 #4F42CF #7C72DB
Accessibility & contrast
On white
10.13
#372BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#372BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372BA8
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372BA8 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #372ba8; /* rgb */ color: rgb(55, 43, 168); /* oklch */ color: oklch(39.6% 0.189 277.6);
Tailwind
colors: {
custom: {
50: '#7e66c3',
500: '#372ba8',
950: '#000000',
},
}SCSS
$custom: #372ba8; $custom-light: #7e66c3; $custom-dark: #000000;
JSON
{
"hex": "#372ba8",
"rgb": {
"r": 55,
"g": 43,
"b": 168
},
"hsl": {
"h": 245.76,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.39602,
"c": 0.18898,
"h": 277.6
},
"luminance": 0.05367
}Semantic roles & 50–950 ramp
primary
#372BA8
secondary
#BAC26C
accent
#E245D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82