#2C4871#2C4871
#2C4871 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.0% C 0.078 H 257.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4871 |
|---|---|
| RGB | rgb(44, 72, 113) |
| HSL | hsl(216, 44%, 31%) |
| HSV | hsv(216, 61%, 44%) |
| CMYK | cmyk(61.1%, 36.3%, 0%, 55.7%) |
| CIE-LAB | lab(30.31, 3.13, -26.82) |
| CIE-LCH | lch(30.31, 27.00, 276.66°) |
| OKLab | oklab(40% -0.0163 -0.0758) |
| OKLCH | oklch(40% 0.078 257.8) |
| XYZ | xyz(6.3357, 6.3619, 16.5137) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 3.83
Cobalt (survey)
#1E488F
ΔE00 4.39
Darkish Blue
#014182
ΔE00 4.50
Prussian Blue
#004577
ΔE00 4.53
Light Navy
#155084
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4871 #71552C
analogous
#2C6A71 #2C4871 #322C71
triadic
#2C4871 #712C48 #48712C
tetradic
#2C4871 #712C6A #71552C #2C7132
square
#2C4871 #712C6A #71552C #2C7132
split-complementary
#2C4871 #71322C #6A712C
monochromatic
#0A1019 #1B2C45 #2C4871 #3D649D #5982BE
Accessibility & contrast
On white
9.24
#2C4871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C4871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4871
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4871 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c4871; /* rgb */ color: rgb(44, 72, 113); /* oklch */ color: oklch(40.0% 0.078 257.8);
Tailwind
colors: {
custom: {
50: '#6b7a9a',
500: '#2c4871',
950: '#000000',
},
}SCSS
$custom: #2c4871; $custom-light: #6b7a9a; $custom-dark: #000000;
JSON
{
"hex": "#2c4871",
"rgb": {
"r": 44,
"g": 72,
"b": 113
},
"hsl": {
"h": 215.652,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.39996,
"c": 0.07756,
"h": 257.8
},
"luminance": 0.06362
}Semantic roles & 50–950 ramp
primary
#2C4871
secondary
#A38456
accent
#A054D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E