#2E4EA1#2E4EA1
#2E4EA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.140 H 265.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA1 |
|---|---|
| RGB | rgb(46, 78, 161) |
| HSL | hsl(223, 56%, 41%) |
| HSV | hsv(223, 71%, 63%) |
| CMYK | cmyk(71.4%, 51.6%, 0%, 36.9%) |
| CIE-LAB | lab(35.21, 17.52, -48.49) |
| CIE-LCH | lch(35.21, 51.56, 289.87°) |
| OKLab | oklab(44.77% -0.0115 -0.1393) |
| OKLCH | oklch(44.77% 0.14 265.3) |
| XYZ | xyz(10.2819, 8.6018, 34.8297) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 3.48
Sapphire
#0F52BA
ΔE00 3.80
Dusk Blue
#26538D
ΔE00 4.40
Denim Blue
#3B5B92
ΔE00 4.96
Light Navy Blue
#2E5A88
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA1 #A1812E
analogous
#2E88A1 #2E4EA1 #472EA1
triadic
#2E4EA1 #A12E4E #4EA12E
tetradic
#2E4EA1 #A12E88 #A1812E #2EA147
square
#2E4EA1 #A12E88 #A1812E #2EA147
split-complementary
#2E4EA1 #A1472E #88A12E
monochromatic
#132042 #203771 #2E4EA1 #4368C9 #738ED7
Accessibility & contrast
On white
7.72
#2E4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2E4EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA1
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA1 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C58A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4ea1; /* rgb */ color: rgb(46, 78, 161); /* oklch */ color: oklch(44.8% 0.140 265.3);
Tailwind
colors: {
custom: {
50: '#767fbd',
500: '#2e4ea1',
950: '#000000',
},
}SCSS
$custom: #2e4ea1; $custom-light: #767fbd; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea1",
"rgb": {
"r": 46,
"g": 78,
"b": 161
},
"hsl": {
"h": 223.304,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.44765,
"c": 0.13979,
"h": 265.3
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#2E4EA1
secondary
#BEA86C
accent
#B549DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81