#372F9D#372F9D
#372F9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.171 H 278.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #372F9D |
|---|---|
| RGB | rgb(55, 47, 157) |
| HSL | hsl(244, 54%, 40%) |
| HSV | hsv(244, 70%, 62%) |
| CMYK | cmyk(65%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(27.52, 37.56, -58.57) |
| CIE-LCH | lch(27.52, 69.58, 302.67°) |
| OKLab | oklab(39.11% 0.0244 -0.169) |
| OKLCH | oklch(39.11% 0.171 278.2) |
| XYZ | xyz(8.6759, 5.2789, 32.4535) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 5.38
Blueberry
#464196
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.87
Royal
#0C1793
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372F9D #959D2F
analogous
#2F5E9D #372F9D #6E2F9D
triadic
#372F9D #9D372F #2F9D37
tetradic
#372F9D #9D2F5E #959D2F #2F9D6E
square
#372F9D #9D2F5E #959D2F #2F9D6E
split-complementary
#372F9D #9D6E2F #5E9D2F
monochromatic
#16133F #27216E #372F9D #4C43C7 #7972D5
Accessibility & contrast
On white
10.21
#372F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#372F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372F9D
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372F9D | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #372f9d; /* rgb */ color: rgb(55, 47, 157); /* oklch */ color: oklch(39.1% 0.171 278.2);
Tailwind
colors: {
custom: {
50: '#7b69bb',
500: '#372f9d',
950: '#000000',
},
}SCSS
$custom: #372f9d; $custom-light: #7b69bb; $custom-dark: #000000;
JSON
{
"hex": "#372f9d",
"rgb": {
"r": 55,
"g": 47,
"b": 157
},
"hsl": {
"h": 244.364,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.39107,
"c": 0.17075,
"h": 278.2
},
"luminance": 0.0528
}Semantic roles & 50–950 ramp
primary
#372F9D
secondary
#B6BC6B
accent
#DD4BD3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81