#2E4C8D#2E4C8D
#2E4C8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.113 H 263.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4C8D |
|---|---|
| RGB | rgb(46, 76, 141) |
| HSL | hsl(221, 51%, 37%) |
| HSV | hsv(221, 67%, 55%) |
| CMYK | cmyk(67.4%, 46.1%, 0%, 44.7%) |
| CIE-LAB | lab(33.29, 11.29, -39.46) |
| CIE-LCH | lch(33.29, 41.04, 285.97°) |
| OKLab | oklab(42.87% -0.0125 -0.1128) |
| OKLCH | oklch(42.87% 0.113 263.7) |
| XYZ | xyz(8.5172, 7.6720, 26.2261) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.01
Dusk Blue
#26538D
ΔE00 3.52
Cobalt
#0047AB
ΔE00 4.75
Darkish Blue
#014182
ΔE00 4.85
Denim Blue
#3B5B92
ΔE00 4.95
Twilight Blue
#0A437A
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4C8D #8D6F2E
analogous
#2E7C8D #2E4C8D #402E8D
triadic
#2E4C8D #8D2E4C #4C8D2E
tetradic
#2E4C8D #8D2E7C #8D6F2E #2E8D40
square
#2E4C8D #8D2E7C #8D6F2E #2E8D40
split-complementary
#2E4C8D #8D402E #7C8D2E
monochromatic
#101A31 #1F335F #2E4C8D #3D65BB #6888CE
Accessibility & contrast
On white
8.29
#2E4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2E4C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4C8D
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4C8D | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e4c8d; /* rgb */ color: rgb(46, 76, 141); /* oklch */ color: oklch(42.9% 0.113 263.7);
Tailwind
colors: {
custom: {
50: '#717daf',
500: '#2e4c8d',
950: '#000000',
},
}SCSS
$custom: #2e4c8d; $custom-light: #717daf; $custom-dark: #000000;
JSON
{
"hex": "#2e4c8d",
"rgb": {
"r": 46,
"g": 76,
"b": 141
},
"hsl": {
"h": 221.053,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.42872,
"c": 0.11345,
"h": 263.7
},
"luminance": 0.07673
}Semantic roles & 50–950 ramp
primary
#2E4C8D
secondary
#B59B62
accent
#AE4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F