#374271#374271
#374271 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.081 H 272.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #374271 |
|---|---|
| RGB | rgb(55, 66, 113) |
| HSL | hsl(229, 35%, 33%) |
| HSV | hsv(229, 51%, 44%) |
| CMYK | cmyk(51.3%, 41.6%, 0%, 55.7%) |
| CIE-LAB | lab(29.16, 9.85, -28.58) |
| CIE-LCH | lch(29.16, 30.23, 289.02°) |
| OKLab | oklab(39.29% 0.0032 -0.0808) |
| OKLCH | oklch(39.29% 0.081 272.2) |
| XYZ | xyz(6.5035, 5.9005, 16.4158) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.44
Dusk
#4E5481
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 7.10
Cobalt (survey)
#1E488F
ΔE00 7.11
Twilight Blue
#0A437A
ΔE00 7.50
Darkish Blue
#014182
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374271 #716637
analogous
#375F71 #374271 #493771
triadic
#374271 #713742 #427137
tetradic
#374271 #71375F #716637 #377149
square
#374271 #71375F #716637 #377149
split-complementary
#374271 #714937 #5F7137
monochromatic
#0F121F #232A48 #374271 #4B5A9A #6B7AB7
Accessibility & contrast
On white
9.63
#374271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#374271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374271
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374271 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#204C54
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #374271; /* rgb */ color: rgb(55, 66, 113); /* oklch */ color: oklch(39.3% 0.081 272.2);
Tailwind
colors: {
custom: {
50: '#72769a',
500: '#374271',
950: '#000000',
},
}SCSS
$custom: #374271; $custom-light: #72769a; $custom-dark: #000000;
JSON
{
"hex": "#374271",
"rgb": {
"r": 55,
"g": 66,
"b": 113
},
"hsl": {
"h": 228.621,
"s": 34.524,
"l": 32.941
},
"oklch": {
"l": 0.3929,
"c": 0.08087,
"h": 272.2
},
"luminance": 0.05901
}Semantic roles & 50–950 ramp
primary
#374271
secondary
#A09564
accent
#B65DCB
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E