#374297#374297
#374297 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.138 H 273.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #374297 |
|---|---|
| RGB | rgb(55, 66, 151) |
| HSL | hsl(233, 47%, 40%) |
| HSV | hsv(233, 64%, 59%) |
| CMYK | cmyk(63.6%, 56.3%, 0%, 40.8%) |
| CIE-LAB | lab(31.68, 23.31, -48.13) |
| CIE-LCH | lch(31.68, 53.48, 295.84°) |
| OKLab | oklab(42.01% 0.0081 -0.1382) |
| OKLCH | oklch(42.01% 0.138 273.3) |
| XYZ | xyz(9.1078, 6.9423, 30.1322) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.93
Sapphire (survey)
#2138AB
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374297 #978C37
analogous
#377297 #374297 #5C3797
triadic
#374297 #973742 #429737
tetradic
#374297 #973772 #978C37 #37975C
square
#374297 #973772 #978C37 #37975C
split-complementary
#374297 #975C37 #729737
monochromatic
#161B3D #272E6A #374297 #4D5ABE #7A84CF
Accessibility & contrast
On white
8.79
#374297 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#374297 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374297
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374297 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374297 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #374297; /* rgb */ color: rgb(55, 66, 151); /* oklch */ color: oklch(42.0% 0.138 273.3);
Tailwind
colors: {
custom: {
50: '#7876b6',
500: '#374297',
950: '#000000',
},
}SCSS
$custom: #374297; $custom-light: #7876b6; $custom-dark: #000000;
JSON
{
"hex": "#374297",
"rgb": {
"r": 55,
"g": 66,
"b": 151
},
"hsl": {
"h": 233.125,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.42005,
"c": 0.13846,
"h": 273.3
},
"luminance": 0.06943
}Semantic roles & 50–950 ramp
primary
#374297
secondary
#B8B072
accent
#C752D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80