#374174#374174
#374174 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.087 H 273.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #374174 |
|---|---|
| RGB | rgb(55, 65, 116) |
| HSL | hsl(230, 36%, 34%) |
| HSV | hsv(230, 53%, 45%) |
| CMYK | cmyk(52.6%, 44%, 0%, 54.5%) |
| CIE-LAB | lab(29.04, 11.55, -30.67) |
| CIE-LCH | lch(29.04, 32.78, 290.64°) |
| OKLab | oklab(39.26% 0.0051 -0.0869) |
| OKLCH | oklch(39.26% 0.087 273.4) |
| XYZ | xyz(6.6172, 5.8534, 17.3007) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 6.39
Dusk
#4E5481
ΔE00 6.71
Blueberry
#464196
ΔE00 6.86
Cobalt (survey)
#1E488F
ΔE00 6.93
Darkish Blue
#014182
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374174 #746A37
analogous
#375F74 #374174 #4B3774
triadic
#374174 #743741 #417437
tetradic
#374174 #74375F #746A37 #37744B
square
#374174 #74375F #746A37 #37744B
split-complementary
#374174 #744B37 #5F7437
monochromatic
#101221 #232A4A #374174 #4B589E #6C79B9
Accessibility & contrast
On white
9.67
#374174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#374174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374174
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374174 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#264273
Tritanopia (blue-blind)
#1E4C55
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #374174; /* rgb */ color: rgb(55, 65, 116); /* oklch */ color: oklch(39.3% 0.087 273.4);
Tailwind
colors: {
custom: {
50: '#72759c',
500: '#374174',
950: '#000000',
},
}SCSS
$custom: #374174; $custom-light: #72759c; $custom-dark: #000000;
JSON
{
"hex": "#374174",
"rgb": {
"r": 55,
"g": 65,
"b": 116
},
"hsl": {
"h": 230.164,
"s": 35.673,
"l": 33.529
},
"oklch": {
"l": 0.39255,
"c": 0.08707,
"h": 273.4
},
"luminance": 0.05854
}Semantic roles & 50–950 ramp
primary
#374174
secondary
#A29865
accent
#B95CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E