#373F97#373F97
#373F97 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.142 H 274.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #373F97 |
|---|---|
| RGB | rgb(55, 63, 151) |
| HSL | hsl(235, 47%, 40%) |
| HSV | hsv(235, 64%, 59%) |
| CMYK | cmyk(63.6%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.88, 25.29, -49.42) |
| CIE-LCH | lch(30.88, 55.52, 297.10°) |
| OKLab | oklab(41.41% 0.011 -0.142) |
| OKLCH | oklch(41.41% 0.142 274.4) |
| XYZ | xyz(8.9371, 6.6009, 30.0753) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.62
Sapphire (survey)
#2138AB
ΔE00 4.10
Darkslateblue
#483D8B
ΔE00 4.20
Ocean Blue
#4F42B5
ΔE00 5.94
Cobalt
#0047AB
ΔE00 6.14
Cobalt (survey)
#1E488F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#373F97 #978F37
analogous
#376F97 #373F97 #5F3797
triadic
#373F97 #97373F #3F9737
tetradic
#373F97 #97376F #978F37 #37975F
square
#373F97 #97376F #978F37 #37975F
split-complementary
#373F97 #975F37 #6F9737
monochromatic
#161A3D #272C6A #373F97 #4D56BE #7A81CF
Accessibility & contrast
On white
9.05
#373F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#373F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #373F97
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##373F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##373F97 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #373f97; /* rgb */ color: rgb(55, 63, 151); /* oklch */ color: oklch(41.4% 0.142 274.4);
Tailwind
colors: {
custom: {
50: '#7874b6',
500: '#373f97',
950: '#000000',
},
}SCSS
$custom: #373f97; $custom-light: #7874b6; $custom-dark: #000000;
JSON
{
"hex": "#373f97",
"rgb": {
"r": 55,
"g": 63,
"b": 151
},
"hsl": {
"h": 235,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.41412,
"c": 0.14247,
"h": 274.4
},
"luminance": 0.06602
}Semantic roles & 50–950 ramp
primary
#373F97
secondary
#B8B272
accent
#CB52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80