#2E4AA5#2E4AA5
#2E4AA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.151 H 267.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AA5 |
|---|---|
| RGB | rgb(46, 74, 165) |
| HSL | hsl(226, 56%, 41%) |
| HSV | hsv(226, 72%, 65%) |
| CMYK | cmyk(72.1%, 55.2%, 0%, 35.3%) |
| CIE-LAB | lab(34.38, 21.71, -52.22) |
| CIE-LCH | lch(34.38, 56.56, 292.57°) |
| OKLab | oklab(44.24% -0.0077 -0.1504) |
| OKLCH | oklch(44.24% 0.151 267.1) |
| XYZ | xyz(10.3647, 8.1939, 36.6254) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Cobalt (survey)
#1E488F
ΔE00 4.08
Sapphire
#0F52BA
ΔE00 4.38
Blue Blue
#2242C7
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.78
Dusk Blue
#26538D
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AA5 #A5892E
analogous
#2E86A5 #2E4AA5 #4E2EA5
triadic
#2E4AA5 #A52E4A #4AA52E
tetradic
#2E4AA5 #A52E86 #A5892E #2EA54E
square
#2E4AA5 #A52E86 #A5892E #2EA54E
split-complementary
#2E4AA5 #A54E2E #86A52E
monochromatic
#131F45 #213575 #2E4AA5 #4565CB #758CD8
Accessibility & contrast
On white
7.96
#2E4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2E4AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AA5
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AA5 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4aa5; /* rgb */ color: rgb(46, 74, 165); /* oklch */ color: oklch(44.2% 0.151 267.1);
Tailwind
colors: {
custom: {
50: '#777cc0',
500: '#2e4aa5',
950: '#000000',
},
}SCSS
$custom: #2e4aa5; $custom-light: #777cc0; $custom-dark: #000000;
JSON
{
"hex": "#2e4aa5",
"rgb": {
"r": 46,
"g": 74,
"b": 165
},
"hsl": {
"h": 225.882,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.44235,
"c": 0.15056,
"h": 267.1
},
"luminance": 0.08195
}Semantic roles & 50–950 ramp
primary
#2E4AA5
secondary
#C0AD6F
accent
#BC48E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81