#2E4AA0#2E4AA0
#2E4AA0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.144 H 266.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AA0 |
|---|---|
| RGB | rgb(46, 74, 160) |
| HSL | hsl(225, 55%, 40%) |
| HSV | hsv(225, 71%, 63%) |
| CMYK | cmyk(71.2%, 53.7%, 0%, 37.3%) |
| CIE-LAB | lab(34.02, 19.82, -49.82) |
| CIE-LCH | lch(34.02, 53.62, 291.69°) |
| OKLab | oklab(43.84% -0.0081 -0.1433) |
| OKLCH | oklch(43.84% 0.144 266.8) |
| XYZ | xyz(9.9184, 8.0155, 34.2753) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Cobalt (survey)
#1E488F
ΔE00 3.46
Sapphire
#0F52BA
ΔE00 4.69
Dusk Blue
#26538D
ΔE00 5.42
Blueberry
#464196
ΔE00 6.01
Sapphire (survey)
#2138AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AA0 #A0842E
analogous
#2E83A0 #2E4AA0 #4B2EA0
triadic
#2E4AA0 #A02E4A #4AA02E
tetradic
#2E4AA0 #A02E83 #A0842E #2EA04B
square
#2E4AA0 #A02E83 #A0842E #2EA04B
split-complementary
#2E4AA0 #A04B2E #83A02E
monochromatic
#131E41 #203470 #2E4AA0 #4263C9 #728BD6
Accessibility & contrast
On white
8.07
#2E4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2E4AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AA0
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AA0 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E55A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e4aa0; /* rgb */ color: rgb(46, 74, 160); /* oklch */ color: oklch(43.8% 0.144 266.8);
Tailwind
colors: {
custom: {
50: '#767cbd',
500: '#2e4aa0',
950: '#000000',
},
}SCSS
$custom: #2e4aa0; $custom-light: #767cbd; $custom-dark: #000000;
JSON
{
"hex": "#2e4aa0",
"rgb": {
"r": 46,
"g": 74,
"b": 160
},
"hsl": {
"h": 225.263,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.4384,
"c": 0.14351,
"h": 266.8
},
"luminance": 0.08016
}Semantic roles & 50–950 ramp
primary
#2E4AA0
secondary
#BEAA6C
accent
#BA49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81