#374E97#374E97
#374E97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.122 H 268.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #374E97 |
|---|---|
| RGB | rgb(55, 78, 151) |
| HSL | hsl(226, 47%, 40%) |
| HSV | hsv(226, 64%, 59%) |
| CMYK | cmyk(63.6%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(34.99, 15.33, -42.79) |
| CIE-LCH | lch(34.99, 45.45, 289.71°) |
| OKLab | oklab(44.51% -0.0042 -0.1223) |
| OKLCH | oklch(44.51% 0.122 268) |
| XYZ | xyz(9.8840, 8.4945, 30.3909) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.65
Dusk Blue
#26538D
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 4.76
Cobalt
#0047AB
ΔE00 4.77
Twilight
#4E518B
ΔE00 5.53
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374E97 #978037
analogous
#377E97 #374E97 #503797
triadic
#374E97 #97374E #4E9737
tetradic
#374E97 #97377E #978037 #379750
square
#374E97 #97377E #978037 #379750
split-complementary
#374E97 #975037 #7E9737
monochromatic
#16203D #27376A #374E97 #4D68BE #7A8ECF
Accessibility & contrast
On white
7.78
#374E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#374E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374E97
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374E97 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #374e97; /* rgb */ color: rgb(55, 78, 151); /* oklch */ color: oklch(44.5% 0.122 268.0);
Tailwind
colors: {
custom: {
50: '#787fb6',
500: '#374e97',
950: '#000000',
},
}SCSS
$custom: #374e97; $custom-light: #787fb6; $custom-dark: #000000;
JSON
{
"hex": "#374e97",
"rgb": {
"r": 55,
"g": 78,
"b": 151
},
"hsl": {
"h": 225.625,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.44512,
"c": 0.12241,
"h": 268
},
"luminance": 0.08495
}Semantic roles & 50–950 ramp
primary
#374E97
secondary
#B8A772
accent
#B652D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80