#374E98#374E98
#374E98 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.124 H 268.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #374E98 |
|---|---|
| RGB | rgb(55, 78, 152) |
| HSL | hsl(226, 47%, 41%) |
| HSV | hsv(226, 64%, 60%) |
| CMYK | cmyk(63.8%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.06, 15.70, -43.29) |
| CIE-LCH | lch(35.06, 46.05, 289.93°) |
| OKLab | oklab(44.58% -0.0041 -0.1238) |
| OKLCH | oklch(44.58% 0.124 268.1) |
| XYZ | xyz(9.9655, 8.5271, 30.8204) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.71
Cobalt
#0047AB
ΔE00 4.69
Dusk Blue
#26538D
ΔE00 4.76
Denim Blue
#3B5B92
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 5.45
Twilight
#4E518B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374E98 #988137
analogous
#377E98 #374E98 #503798
triadic
#374E98 #98374E #4E9837
tetradic
#374E98 #98377E #988137 #379850
square
#374E98 #98377E #988137 #379850
split-complementary
#374E98 #985037 #7E9837
monochromatic
#16203E #27376B #374E98 #4D68BF #7A8ECF
Accessibility & contrast
On white
7.76
#374E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#374E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374E98
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374E98 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #374e98; /* rgb */ color: rgb(55, 78, 152); /* oklch */ color: oklch(44.6% 0.124 268.1);
Tailwind
colors: {
custom: {
50: '#787fb7',
500: '#374e98',
950: '#000000',
},
}SCSS
$custom: #374e98; $custom-light: #787fb7; $custom-dark: #000000;
JSON
{
"hex": "#374e98",
"rgb": {
"r": 55,
"g": 78,
"b": 152
},
"hsl": {
"h": 225.773,
"s": 46.86,
"l": 40.588
},
"oklch": {
"l": 0.44582,
"c": 0.12388,
"h": 268.1
},
"luminance": 0.08528
}Semantic roles & 50–950 ramp
primary
#374E98
secondary
#B8A873
accent
#B751D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80