#374397#374397
#374397 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.137 H 273.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #374397 |
|---|---|
| RGB | rgb(55, 67, 151) |
| HSL | hsl(233, 47%, 40%) |
| HSV | hsv(233, 64%, 59%) |
| CMYK | cmyk(63.6%, 55.6%, 0%, 40.8%) |
| CIE-LAB | lab(31.94, 22.64, -47.70) |
| CIE-LCH | lch(31.94, 52.80, 295.39°) |
| OKLab | oklab(42.21% 0.0071 -0.1369) |
| OKLCH | oklch(42.21% 0.137 273) |
| XYZ | xyz(9.1668, 7.0601, 30.1518) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.10
Darkslateblue
#483D8B
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374397 #978B37
analogous
#377397 #374397 #5B3797
triadic
#374397 #973743 #439737
tetradic
#374397 #973773 #978B37 #37975B
square
#374397 #973773 #978B37 #37975B
split-complementary
#374397 #975B37 #739737
monochromatic
#161B3D #272F6A #374397 #4D5BBE #7A84CF
Accessibility & contrast
On white
8.71
#374397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#374397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374397
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374397 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #374397; /* rgb */ color: rgb(55, 67, 151); /* oklch */ color: oklch(42.2% 0.137 273.0);
Tailwind
colors: {
custom: {
50: '#7877b6',
500: '#374397',
950: '#000000',
},
}SCSS
$custom: #374397; $custom-light: #7877b6; $custom-dark: #000000;
JSON
{
"hex": "#374397",
"rgb": {
"r": 55,
"g": 67,
"b": 151
},
"hsl": {
"h": 232.5,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.42206,
"c": 0.13712,
"h": 273
},
"luminance": 0.07061
}Semantic roles & 50–950 ramp
primary
#374397
secondary
#B8AF72
accent
#C652D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80