#2C4E8D#2C4E8D
#2C4E8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.112 H 261.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4E8D |
|---|---|
| RGB | rgb(44, 78, 141) |
| HSL | hsl(219, 52%, 36%) |
| HSV | hsv(219, 69%, 55%) |
| CMYK | cmyk(68.8%, 44.7%, 0%, 44.7%) |
| CIE-LAB | lab(33.79, 9.60, -38.67) |
| CIE-LCH | lch(33.79, 39.84, 283.94°) |
| OKLab | oklab(43.23% -0.0164 -0.1104) |
| OKLCH | oklch(43.23% 0.112 261.6) |
| XYZ | xyz(8.5691, 7.9065, 26.2686) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.15
Dusk Blue
#26538D
ΔE00 2.55
Denim Blue
#3B5B92
ΔE00 4.32
Light Navy
#155084
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.82
Darkish Blue
#014182
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4E8D #8D6B2C
analogous
#2C7F8D #2C4E8D #3B2C8D
triadic
#2C4E8D #8D2C4E #4E8D2C
tetradic
#2C4E8D #8D2C7F #8D6B2C #2C8D3B
square
#2C4E8D #8D2C7F #8D6B2C #2C8D3B
split-complementary
#2C4E8D #8D3B2C #7F8D2C
monochromatic
#0F1A30 #1D345E #2C4E8D #3B68BC #658ACF
Accessibility & contrast
On white
8.14
#2C4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2C4E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4E8D
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4E8D | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c4e8d; /* rgb */ color: rgb(44, 78, 141); /* oklch */ color: oklch(43.2% 0.112 261.6);
Tailwind
colors: {
custom: {
50: '#707faf',
500: '#2c4e8d',
950: '#000000',
},
}SCSS
$custom: #2c4e8d; $custom-light: #707faf; $custom-dark: #000000;
JSON
{
"hex": "#2c4e8d",
"rgb": {
"r": 44,
"g": 78,
"b": 141
},
"hsl": {
"h": 218.969,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.43228,
"c": 0.11165,
"h": 261.6
},
"luminance": 0.07907
}Semantic roles & 50–950 ramp
primary
#2C4E8D
secondary
#B59760
accent
#A94CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F