#373A8A#373A8A
#373A8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.131 H 277.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #373A8A |
|---|---|
| RGB | rgb(55, 58, 138) |
| HSL | hsl(238, 43%, 38%) |
| HSV | hsv(238, 60%, 54%) |
| CMYK | cmyk(60.1%, 58%, 0%, 45.9%) |
| CIE-LAB | lab(28.57, 23.99, -45.18) |
| CIE-LCH | lch(28.57, 51.15, 297.97°) |
| OKLab | oklab(39.38% 0.0158 -0.1296) |
| OKLCH | oklch(39.38% 0.131 277) |
| XYZ | xyz(7.6746, 5.6728, 24.7304) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.23
Blueberry
#464196
ΔE00 3.25
Sapphire (survey)
#2138AB
ΔE00 5.52
Cobalt (survey)
#1E488F
ΔE00 7.43
Ocean Blue
#4F42B5
ΔE00 7.59
Twilight
#4E518B
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#373A8A #8A8737
analogous
#37648A #373A8A #5D378A
triadic
#373A8A #8A373A #3A8A37
tetradic
#373A8A #8A3764 #8A8737 #378A5D
square
#373A8A #8A3764 #8A8737 #378A5D
split-complementary
#373A8A #8A5D37 #648A37
monochromatic
#141532 #26285E #373A8A #484CB6 #7477C8
Accessibility & contrast
On white
9.84
#373A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#373A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #373A8A
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##373A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##373A8A | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #373a8a; /* rgb */ color: rgb(55, 58, 138); /* oklch */ color: oklch(39.4% 0.131 277.0);
Tailwind
colors: {
custom: {
50: '#7670ad',
500: '#373a8a',
950: '#000000',
},
}SCSS
$custom: #373a8a; $custom-light: #7670ad; $custom-dark: #000000;
JSON
{
"hex": "#373a8a",
"rgb": {
"r": 55,
"g": 58,
"b": 138
},
"hsl": {
"h": 237.831,
"s": 43.005,
"l": 37.843
},
"oklch": {
"l": 0.39379,
"c": 0.13058,
"h": 277
},
"luminance": 0.05673
}Semantic roles & 50–950 ramp
primary
#373A8A
secondary
#B0AE6D
accent
#CE55D3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F