#2E4A7A#2E4A7A
#2E4A7A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.1% C 0.088 H 260.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4A7A |
|---|---|
| RGB | rgb(46, 74, 122) |
| HSL | hsl(218, 45%, 33%) |
| HSV | hsv(218, 62%, 48%) |
| CMYK | cmyk(62.3%, 39.3%, 0%, 52.2%) |
| CIE-LAB | lab(31.54, 5.54, -30.51) |
| CIE-LCH | lch(31.54, 31.01, 280.29°) |
| OKLab | oklab(41.15% -0.0144 -0.0865) |
| OKLCH | oklch(41.15% 0.088 260.6) |
| XYZ | xyz(7.0871, 6.8829, 19.3636) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.43
Twilight Blue
#0A437A
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 4.31
Darkish Blue
#014182
ΔE00 4.46
Light Navy
#155084
ΔE00 4.95
Prussian Blue
#004577
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4A7A #7A5E2E
analogous
#2E707A #2E4A7A #382E7A
triadic
#2E4A7A #7A2E4A #4A7A2E
tetradic
#2E4A7A #7A2E70 #7A5E2E #2E7A38
square
#2E4A7A #7A2E70 #7A5E2E #2E7A38
split-complementary
#2E4A7A #7A382E #707A2E
monochromatic
#0C1421 #1D2F4E #2E4A7A #3F65A6 #6084C3
Accessibility & contrast
On white
8.84
#2E4A7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2E4A7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4A7A
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4A7A | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364E7C
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e4a7a; /* rgb */ color: rgb(46, 74, 122); /* oklch */ color: oklch(41.1% 0.088 260.6);
Tailwind
colors: {
custom: {
50: '#6e7ca1',
500: '#2e4a7a',
950: '#000000',
},
}SCSS
$custom: #2e4a7a; $custom-light: #6e7ca1; $custom-dark: #000000;
JSON
{
"hex": "#2e4a7a",
"rgb": {
"r": 46,
"g": 74,
"b": 122
},
"hsl": {
"h": 217.895,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.41147,
"c": 0.08773,
"h": 260.6
},
"luminance": 0.06884
}Semantic roles & 50–950 ramp
primary
#2E4A7A
secondary
#AA8C5A
accent
#A553D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090F
muted
#7B7B7E