#2E49AB#2E49AB
#2E49AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.160 H 267.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E49AB |
|---|---|
| RGB | rgb(46, 73, 171) |
| HSL | hsl(227, 58%, 43%) |
| HSV | hsv(227, 73%, 67%) |
| CMYK | cmyk(73.1%, 57.3%, 0%, 32.9%) |
| CIE-LAB | lab(34.57, 24.63, -55.51) |
| CIE-LCH | lch(34.57, 60.73, 293.93°) |
| OKLab | oklab(44.52% -0.0065 -0.16) |
| OKLCH | oklch(44.52% 0.16 267.7) |
| XYZ | xyz(10.8574, 8.2851, 39.5472) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.99
Sapphire
#0F52BA
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.20
Blueberry
#464196
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E49AB #AB902E
analogous
#2E88AB #2E49AB #512EAB
triadic
#2E49AB #AB2E49 #49AB2E
tetradic
#2E49AB #AB2E88 #AB902E #2EAB51
square
#2E49AB #AB2E88 #AB902E #2EAB51
split-complementary
#2E49AB #AB512E #88AB2E
monochromatic
#14204B #21347B #2E49AB #4865CE #798EDB
Accessibility & contrast
On white
7.90
#2E49AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2E49AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E49AB
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E49AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E49AB | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e49ab; /* rgb */ color: rgb(46, 73, 171); /* oklch */ color: oklch(44.5% 0.160 267.7);
Tailwind
colors: {
custom: {
50: '#787bc5',
500: '#2e49ab',
950: '#000000',
},
}SCSS
$custom: #2e49ab; $custom-light: #787bc5; $custom-dark: #000000;
JSON
{
"hex": "#2e49ab",
"rgb": {
"r": 46,
"g": 73,
"b": 171
},
"hsl": {
"h": 227.04,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.44519,
"c": 0.16016,
"h": 267.7
},
"luminance": 0.08286
}Semantic roles & 50–950 ramp
primary
#2E49AB
secondary
#C3B172
accent
#C047E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82