#2C4A7E#2C4A7E
#2C4A7E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.095 H 260.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4A7E |
|---|---|
| RGB | rgb(44, 74, 126) |
| HSL | hsl(218, 48%, 33%) |
| HSV | hsv(218, 65%, 49%) |
| CMYK | cmyk(65.1%, 41.3%, 0%, 50.6%) |
| CIE-LAB | lab(31.67, 6.61, -32.80) |
| CIE-LCH | lch(31.67, 33.46, 281.39°) |
| OKLab | oklab(41.29% -0.0153 -0.0933) |
| OKLCH | oklch(41.29% 0.095 260.7) |
| XYZ | xyz(7.2521, 6.9387, 20.6917) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.78
Twilight Blue
#0A437A
ΔE00 3.88
Dusk Blue
#26538D
ΔE00 3.93
Darkish Blue
#014182
ΔE00 4.08
Light Navy
#155084
ΔE00 4.69
Prussian Blue
#004577
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4A7E #7E602C
analogous
#2C737E #2C4A7E #372C7E
triadic
#2C4A7E #7E2C4A #4A7E2C
tetradic
#2C4A7E #7E2C73 #7E602C #2C7E37
square
#2C4A7E #7E2C73 #7E602C #2C7E37
split-complementary
#2C4A7E #7E372C #737E2C
monochromatic
#0C1523 #1C2F51 #2C4A7E #3C65AB #5E84C7
Accessibility & contrast
On white
8.79
#2C4A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C4A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4A7E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4A7E | 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)
#334F80
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c4a7e; /* rgb */ color: rgb(44, 74, 126); /* oklch */ color: oklch(41.3% 0.095 260.7);
Tailwind
colors: {
custom: {
50: '#6e7ca4',
500: '#2c4a7e',
950: '#000000',
},
}SCSS
$custom: #2c4a7e; $custom-light: #6e7ca4; $custom-dark: #000000;
JSON
{
"hex": "#2c4a7e",
"rgb": {
"r": 44,
"g": 74,
"b": 126
},
"hsl": {
"h": 218.049,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.41294,
"c": 0.09454,
"h": 260.7
},
"luminance": 0.06939
}Semantic roles & 50–950 ramp
primary
#2C4A7E
secondary
#AD8E59
accent
#A650D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F