#374F97#374F97
#374F97 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.121 H 267.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #374F97 |
|---|---|
| RGB | rgb(55, 79, 151) |
| HSL | hsl(225, 47%, 40%) |
| HSV | hsv(225, 64%, 59%) |
| CMYK | cmyk(63.6%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(35.28, 14.67, -42.33) |
| CIE-LCH | lch(35.28, 44.80, 289.11°) |
| OKLab | oklab(44.73% -0.0053 -0.121) |
| OKLCH | oklch(44.73% 0.121 267.5) |
| XYZ | xyz(9.9555, 8.6377, 30.4148) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.69
Denim Blue
#3B5B92
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 4.43
Cobalt
#0047AB
ΔE00 4.85
Sapphire
#0F52BA
ΔE00 5.41
Dusky Blue
#475F94
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374F97 #977F37
analogous
#377F97 #374F97 #4F3797
triadic
#374F97 #97374F #4F9737
tetradic
#374F97 #97377F #977F37 #37974F
square
#374F97 #97377F #977F37 #37974F
split-complementary
#374F97 #974F37 #7F9737
monochromatic
#16203D #27386A #374F97 #4D69BE #7A8FCF
Accessibility & contrast
On white
7.70
#374F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#374F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374F97
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374F97 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #374f97; /* rgb */ color: rgb(55, 79, 151); /* oklch */ color: oklch(44.7% 0.121 267.5);
Tailwind
colors: {
custom: {
50: '#777fb6',
500: '#374f97',
950: '#000000',
},
}SCSS
$custom: #374f97; $custom-light: #777fb6; $custom-dark: #000000;
JSON
{
"hex": "#374f97",
"rgb": {
"r": 55,
"g": 79,
"b": 151
},
"hsl": {
"h": 225,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.44729,
"c": 0.1211,
"h": 267.5
},
"luminance": 0.08639
}Semantic roles & 50–950 ramp
primary
#374F97
secondary
#B8A672
accent
#B552D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80