#373B97#373B97
#373B97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.148 H 275.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #373B97 |
|---|---|
| RGB | rgb(55, 59, 151) |
| HSL | hsl(238, 47%, 40%) |
| HSV | hsv(238, 64%, 59%) |
| CMYK | cmyk(63.6%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.85, 27.92, -51.10) |
| CIE-LCH | lch(29.85, 58.23, 298.65°) |
| OKLab | oklab(40.64% 0.0148 -0.147) |
| OKLCH | oklch(40.64% 0.148 275.7) |
| XYZ | xyz(8.7236, 6.1738, 30.0041) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.81
Sapphire (survey)
#2138AB
ΔE00 3.66
Darkslateblue
#483D8B
ΔE00 3.95
Ocean Blue
#4F42B5
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 6.96
Cobalt
#0047AB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#373B97 #979337
analogous
#376B97 #373B97 #633797
triadic
#373B97 #97373B #3B9737
tetradic
#373B97 #97376B #979337 #379763
square
#373B97 #97376B #979337 #379763
split-complementary
#373B97 #976337 #6B9737
monochromatic
#16183D #27296A #373B97 #4D52BE #7A7DCF
Accessibility & contrast
On white
9.40
#373B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#373B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #373B97
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##373B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##373B97 | 1.00 | 9.40 | 2.24 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #373b97; /* rgb */ color: rgb(55, 59, 151); /* oklch */ color: oklch(40.6% 0.148 275.7);
Tailwind
colors: {
custom: {
50: '#7971b6',
500: '#373b97',
950: '#000000',
},
}SCSS
$custom: #373b97; $custom-light: #7971b6; $custom-dark: #000000;
JSON
{
"hex": "#373b97",
"rgb": {
"r": 55,
"g": 59,
"b": 151
},
"hsl": {
"h": 237.5,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.40645,
"c": 0.14776,
"h": 275.7
},
"luminance": 0.06175
}Semantic roles & 50–950 ramp
primary
#373B97
secondary
#B8B572
accent
#D152D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80