#2E4D7E#2E4D7E
#2E4D7E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.1% C 0.090 H 259.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4D7E |
|---|---|
| RGB | rgb(46, 77, 126) |
| HSL | hsl(217, 47%, 34%) |
| HSV | hsv(217, 63%, 49%) |
| CMYK | cmyk(63.5%, 38.9%, 0%, 50.6%) |
| CIE-LAB | lab(32.69, 5.03, -31.17) |
| CIE-LCH | lch(32.69, 31.58, 279.16°) |
| OKLab | oklab(42.11% -0.0169 -0.0885) |
| OKLCH | oklch(42.11% 0.09 259.2) |
| XYZ | xyz(7.5452, 7.3943, 20.7642) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 3.18
Light Navy
#155084
ΔE00 4.08
Twilight Blue
#0A437A
ΔE00 4.31
Darkish Blue
#014182
ΔE00 4.71
Prussian Blue
#004577
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4D7E #7E5F2E
analogous
#2E757E #2E4D7E #372E7E
triadic
#2E4D7E #7E2E4D #4D7E2E
tetradic
#2E4D7E #7E2E75 #7E5F2E #2E7E37
square
#2E4D7E #7E2E75 #7E5F2E #2E7E37
split-complementary
#2E4D7E #7E372E #757E2E
monochromatic
#0D1624 #1E3251 #2E4D7E #3E68AB #6188C5
Accessibility & contrast
On white
8.47
#2E4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2E4D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4D7E
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4D7E | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e4d7e; /* rgb */ color: rgb(46, 77, 126); /* oklch */ color: oklch(42.1% 0.090 259.2);
Tailwind
colors: {
custom: {
50: '#6f7ea3',
500: '#2e4d7e',
950: '#000000',
},
}SCSS
$custom: #2e4d7e; $custom-light: #6f7ea3; $custom-dark: #000000;
JSON
{
"hex": "#2e4d7e",
"rgb": {
"r": 46,
"g": 77,
"b": 126
},
"hsl": {
"h": 216.75,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.42114,
"c": 0.09005,
"h": 259.2
},
"luminance": 0.07395
}Semantic roles & 50–950 ramp
primary
#2E4D7E
secondary
#AC8D5C
accent
#A352D6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F