#2E4AA1#2E4AA1
#2E4AA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.145 H 266.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AA1 |
|---|---|
| RGB | rgb(46, 74, 161) |
| HSL | hsl(225, 56%, 41%) |
| HSV | hsv(225, 71%, 63%) |
| CMYK | cmyk(71.4%, 54%, 0%, 36.9%) |
| CIE-LAB | lab(34.09, 20.20, -50.30) |
| CIE-LCH | lch(34.09, 54.20, 291.87°) |
| OKLab | oklab(43.92% -0.008 -0.1447) |
| OKLCH | oklch(43.92% 0.145 266.8) |
| XYZ | xyz(10.0063, 8.0506, 34.7379) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Cobalt (survey)
#1E488F
ΔE00 3.58
Sapphire
#0F52BA
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 6.00
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AA1 #A1852E
analogous
#2E84A1 #2E4AA1 #4B2EA1
triadic
#2E4AA1 #A12E4A #4AA12E
tetradic
#2E4AA1 #A12E84 #A1852E #2EA14B
square
#2E4AA1 #A12E84 #A1852E #2EA14B
split-complementary
#2E4AA1 #A14B2E #84A12E
monochromatic
#131E42 #203471 #2E4AA1 #4364C9 #738BD7
Accessibility & contrast
On white
8.04
#2E4AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2E4AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AA1
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AA1 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e4aa1; /* rgb */ color: rgb(46, 74, 161); /* oklch */ color: oklch(43.9% 0.145 266.8);
Tailwind
colors: {
custom: {
50: '#767cbd',
500: '#2e4aa1',
950: '#000000',
},
}SCSS
$custom: #2e4aa1; $custom-light: #767cbd; $custom-dark: #000000;
JSON
{
"hex": "#2e4aa1",
"rgb": {
"r": 46,
"g": 74,
"b": 161
},
"hsl": {
"h": 225.391,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.43918,
"c": 0.14492,
"h": 266.8
},
"luminance": 0.08052
}Semantic roles & 50–950 ramp
primary
#2E4AA1
secondary
#BEAA6C
accent
#BA49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81