#373B98#373B98
#373B98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.149 H 275.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #373B98 |
|---|---|
| RGB | rgb(55, 59, 152) |
| HSL | hsl(238, 47%, 41%) |
| HSV | hsv(238, 64%, 60%) |
| CMYK | cmyk(63.8%, 61.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.93, 28.28, -51.58) |
| CIE-LCH | lch(29.93, 58.82, 298.73°) |
| OKLab | oklab(40.73% 0.0148 -0.1484) |
| OKLCH | oklch(40.73% 0.149 275.7) |
| XYZ | xyz(8.8052, 6.2064, 30.4336) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.84
Sapphire (survey)
#2138AB
ΔE00 3.53
Darkslateblue
#483D8B
ΔE00 4.04
Ocean Blue
#4F42B5
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 6.82
Cobalt
#0047AB
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#373B98 #989437
analogous
#376B98 #373B98 #633798
triadic
#373B98 #98373B #3B9837
tetradic
#373B98 #98376B #989437 #379863
square
#373B98 #98376B #989437 #379863
split-complementary
#373B98 #986337 #6B9837
monochromatic
#16183E #272A6B #373B98 #4D52BF #7A7ECF
Accessibility & contrast
On white
9.37
#373B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#373B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #373B98
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##373B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##373B98 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #373b98; /* rgb */ color: rgb(55, 59, 152); /* oklch */ color: oklch(40.7% 0.149 275.7);
Tailwind
colors: {
custom: {
50: '#7971b7',
500: '#373b98',
950: '#000000',
},
}SCSS
$custom: #373b98; $custom-light: #7971b7; $custom-dark: #000000;
JSON
{
"hex": "#373b98",
"rgb": {
"r": 55,
"g": 59,
"b": 152
},
"hsl": {
"h": 237.526,
"s": 46.86,
"l": 40.588
},
"oklch": {
"l": 0.4073,
"c": 0.14916,
"h": 275.7
},
"luminance": 0.06207
}Semantic roles & 50–950 ramp
primary
#373B98
secondary
#B8B573
accent
#D151D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80