#372997#372997
#372997 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.170 H 280.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #372997 |
|---|---|
| RGB | rgb(55, 41, 151) |
| HSL | hsl(248, 57%, 38%) |
| HSV | hsv(248, 73%, 59%) |
| CMYK | cmyk(63.6%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(25.66, 39.12, -57.95) |
| CIE-LCH | lch(25.66, 69.92, 304.02°) |
| OKLab | oklab(37.6% 0.03 -0.1671) |
| OKLCH | oklch(37.6% 0.17 280.2) |
| XYZ | xyz(7.9526, 4.6319, 29.7471) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.80
Royal
#0C1793
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372997 #899729
analogous
#295297 #372997 #6E2997
triadic
#372997 #973729 #299737
tetradic
#372997 #972952 #899729 #29976E
square
#372997 #972952 #899729 #29976E
split-complementary
#372997 #976E29 #529729
monochromatic
#140F37 #251C67 #372997 #4936C7 #7365D5
Accessibility & contrast
On white
10.90
#372997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#372997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372997
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372997 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #372997; /* rgb */ color: rgb(55, 41, 151); /* oklch */ color: oklch(37.6% 0.170 280.2);
Tailwind
colors: {
custom: {
50: '#7a64b7',
500: '#372997',
950: '#000000',
},
}SCSS
$custom: #372997; $custom-light: #7a64b7; $custom-dark: #000000;
JSON
{
"hex": "#372997",
"rgb": {
"r": 55,
"g": 41,
"b": 151
},
"hsl": {
"h": 247.636,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.37605,
"c": 0.16982,
"h": 280.2
},
"luminance": 0.04632
}Semantic roles & 50–950 ramp
primary
#372997
secondary
#B0BB61
accent
#E147CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80