#2E4D7F#2E4D7F
#2E4D7F is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.092 H 259.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4D7F |
|---|---|
| RGB | rgb(46, 77, 127) |
| HSL | hsl(217, 47%, 34%) |
| HSV | hsv(217, 64%, 50%) |
| CMYK | cmyk(63.8%, 39.4%, 0%, 50.2%) |
| CIE-LAB | lab(32.74, 5.39, -31.70) |
| CIE-LCH | lch(32.74, 32.16, 279.66°) |
| OKLab | oklab(42.18% -0.0166 -0.09) |
| OKLCH | oklch(42.18% 0.092 259.5) |
| XYZ | xyz(7.6100, 7.4202, 21.1058) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.08
Dusk Blue
#26538D
ΔE00 3.13
Light Navy
#155084
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 4.34
Darkish Blue
#014182
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4D7F #7F602E
analogous
#2E767F #2E4D7F #382E7F
triadic
#2E4D7F #7F2E4D #4D7F2E
tetradic
#2E4D7F #7F2E76 #7F602E #2E7F38
square
#2E4D7F #7F2E76 #7F602E #2E7F38
split-complementary
#2E4D7F #7F382E #767F2E
monochromatic
#0D1725 #1E3252 #2E4D7F #3E68AC #6188C6
Accessibility & contrast
On white
8.45
#2E4D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2E4D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4D7F
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4D7F | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#2C4A7E
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e4d7f; /* rgb */ color: rgb(46, 77, 127); /* oklch */ color: oklch(42.2% 0.092 259.5);
Tailwind
colors: {
custom: {
50: '#6f7ea4',
500: '#2e4d7f',
950: '#000000',
},
}SCSS
$custom: #2e4d7f; $custom-light: #6f7ea4; $custom-dark: #000000;
JSON
{
"hex": "#2e4d7f",
"rgb": {
"r": 46,
"g": 77,
"b": 127
},
"hsl": {
"h": 217.037,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.42176,
"c": 0.09153,
"h": 259.5
},
"luminance": 0.07421
}Semantic roles & 50–950 ramp
primary
#2E4D7F
secondary
#AD8E5C
accent
#A451D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F