#2E4D8E#2E4D8E
#2E4D8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.114 H 263.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4D8E |
|---|---|
| RGB | rgb(46, 77, 142) |
| HSL | hsl(221, 51%, 37%) |
| HSV | hsv(221, 68%, 56%) |
| CMYK | cmyk(67.6%, 45.8%, 0%, 44.3%) |
| CIE-LAB | lab(33.65, 11.00, -39.49) |
| CIE-LCH | lch(33.65, 40.99, 285.56°) |
| OKLab | oklab(43.17% -0.0134 -0.1128) |
| OKLCH | oklch(43.17% 0.114 263.2) |
| XYZ | xyz(8.6614, 7.8408, 26.6429) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.12
Dusk Blue
#26538D
ΔE00 3.20
Denim Blue
#3B5B92
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.71
Light Navy
#155084
ΔE00 4.99
Darkish Blue
#014182
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4D8E #8E6F2E
analogous
#2E7D8E #2E4D8E #3F2E8E
triadic
#2E4D8E #8E2E4D #4D8E2E
tetradic
#2E4D8E #8E2E7D #8E6F2E #2E8E3F
square
#2E4D8E #8E2E7D #8E6F2E #2E8E3F
split-complementary
#2E4D8E #8E3F2E #7D8E2E
monochromatic
#101B32 #1F3460 #2E4D8E #3D66BC #6889CE
Accessibility & contrast
On white
8.18
#2E4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2E4D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4D8E
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4D8E | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e4d8e; /* rgb */ color: rgb(46, 77, 142); /* oklch */ color: oklch(43.2% 0.114 263.2);
Tailwind
colors: {
custom: {
50: '#727eaf',
500: '#2e4d8e',
950: '#000000',
},
}SCSS
$custom: #2e4d8e; $custom-light: #727eaf; $custom-dark: #000000;
JSON
{
"hex": "#2e4d8e",
"rgb": {
"r": 46,
"g": 77,
"b": 142
},
"hsl": {
"h": 220.625,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.43168,
"c": 0.11364,
"h": 263.2
},
"luminance": 0.07842
}Semantic roles & 50–950 ramp
primary
#2E4D8E
secondary
#B59A63
accent
#AD4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F