#2E49A8#2E49A8
#2E49A8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.156 H 267.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E49A8 |
|---|---|
| RGB | rgb(46, 73, 168) |
| HSL | hsl(227, 57%, 42%) |
| HSV | hsv(227, 73%, 66%) |
| CMYK | cmyk(72.6%, 56.5%, 0%, 34.1%) |
| CIE-LAB | lab(34.34, 23.50, -54.09) |
| CIE-LCH | lch(34.34, 58.98, 293.49°) |
| OKLab | oklab(44.27% -0.0067 -0.1559) |
| OKLCH | oklch(44.27% 0.156 267.5) |
| XYZ | xyz(10.5747, 8.1720, 38.0582) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.91
Sapphire
#0F52BA
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.30
Blueberry
#464196
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E49A8 #A88D2E
analogous
#2E86A8 #2E49A8 #502EA8
triadic
#2E49A8 #A82E49 #49A82E
tetradic
#2E49A8 #A82E86 #A88D2E #2EA850
square
#2E49A8 #A82E86 #A88D2E #2EA850
split-complementary
#2E49A8 #A8502E #86A82E
monochromatic
#141F48 #213478 #2E49A8 #4764CD #778DDA
Accessibility & contrast
On white
7.97
#2E49A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2E49A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E49A8
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E49A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E49A8 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e49a8; /* rgb */ color: rgb(46, 73, 168); /* oklch */ color: oklch(44.3% 0.156 267.5);
Tailwind
colors: {
custom: {
50: '#777bc3',
500: '#2e49a8',
950: '#000000',
},
}SCSS
$custom: #2e49a8; $custom-light: #777bc3; $custom-dark: #000000;
JSON
{
"hex": "#2e49a8",
"rgb": {
"r": 46,
"g": 73,
"b": 168
},
"hsl": {
"h": 226.721,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.44272,
"c": 0.15601,
"h": 267.5
},
"luminance": 0.08173
}Semantic roles & 50–950 ramp
primary
#2E49A8
secondary
#C2B070
accent
#BE48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81