#2E4AA4#2E4AA4
#2E4AA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.149 H 267.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AA4 |
|---|---|
| RGB | rgb(46, 74, 164) |
| HSL | hsl(226, 56%, 41%) |
| HSV | hsv(226, 72%, 64%) |
| CMYK | cmyk(72%, 54.9%, 0%, 35.7%) |
| CIE-LAB | lab(34.31, 21.33, -51.75) |
| CIE-LCH | lch(34.31, 55.97, 292.40°) |
| OKLab | oklab(44.16% -0.0078 -0.1489) |
| OKLCH | oklch(44.16% 0.149 267) |
| XYZ | xyz(10.2740, 8.1577, 36.1479) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.86
Cobalt (survey)
#1E488F
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.43
Blue Blue
#2242C7
ΔE00 5.59
Dusk Blue
#26538D
ΔE00 5.78
Sapphire (survey)
#2138AB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AA4 #A4882E
analogous
#2E85A4 #2E4AA4 #4D2EA4
triadic
#2E4AA4 #A42E4A #4AA42E
tetradic
#2E4AA4 #A42E85 #A4882E #2EA44D
square
#2E4AA4 #A42E85 #A4882E #2EA44D
split-complementary
#2E4AA4 #A44D2E #85A42E
monochromatic
#131F44 #213474 #2E4AA4 #4564CB #748CD8
Accessibility & contrast
On white
7.98
#2E4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2E4AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AA4
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AA4 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0156A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4aa4; /* rgb */ color: rgb(46, 74, 164); /* oklch */ color: oklch(44.2% 0.149 267.0);
Tailwind
colors: {
custom: {
50: '#767cc0',
500: '#2e4aa4',
950: '#000000',
},
}SCSS
$custom: #2e4aa4; $custom-light: #767cc0; $custom-dark: #000000;
JSON
{
"hex": "#2e4aa4",
"rgb": {
"r": 46,
"g": 74,
"b": 164
},
"hsl": {
"h": 225.763,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.44155,
"c": 0.14915,
"h": 267
},
"luminance": 0.08159
}Semantic roles & 50–950 ramp
primary
#2E4AA4
secondary
#C0AC6E
accent
#BC48DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81