#374B97#374B97
#374B97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.126 H 269.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #374B97 |
|---|---|
| RGB | rgb(55, 75, 151) |
| HSL | hsl(228, 47%, 40%) |
| HSV | hsv(228, 64%, 59%) |
| CMYK | cmyk(63.6%, 50.3%, 0%, 40.8%) |
| CIE-LAB | lab(34.14, 17.32, -44.15) |
| CIE-LCH | lch(34.14, 47.43, 291.42°) |
| OKLab | oklab(43.87% -0.0011 -0.1264) |
| OKLCH | oklch(43.87% 0.126 269.5) |
| XYZ | xyz(9.6757, 8.0779, 30.3215) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.67
Blueberry
#464196
ΔE00 5.27
Twilight
#4E518B
ΔE00 5.54
Dusk Blue
#26538D
ΔE00 5.56
Denim Blue
#3B5B92
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374B97 #978337
analogous
#377B97 #374B97 #533797
triadic
#374B97 #97374B #4B9737
tetradic
#374B97 #97377B #978337 #379753
square
#374B97 #97377B #978337 #379753
split-complementary
#374B97 #975337 #7B9737
monochromatic
#161E3D #27356A #374B97 #4D65BE #7A8CCF
Accessibility & contrast
On white
8.03
#374B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#374B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374B97
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374B97 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #374b97; /* rgb */ color: rgb(55, 75, 151); /* oklch */ color: oklch(43.9% 0.126 269.5);
Tailwind
colors: {
custom: {
50: '#787cb6',
500: '#374b97',
950: '#000000',
},
}SCSS
$custom: #374b97; $custom-light: #787cb6; $custom-dark: #000000;
JSON
{
"hex": "#374b97",
"rgb": {
"r": 55,
"g": 75,
"b": 151
},
"hsl": {
"h": 227.5,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.43867,
"c": 0.12638,
"h": 269.5
},
"luminance": 0.08079
}Semantic roles & 50–950 ramp
primary
#374B97
secondary
#B8A972
accent
#BB52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80