#2E48A5#2E48A5
#2E48A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.153 H 267.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48A5 |
|---|---|
| RGB | rgb(46, 72, 165) |
| HSL | hsl(227, 56%, 41%) |
| HSV | hsv(227, 72%, 65%) |
| CMYK | cmyk(72.1%, 56.4%, 0%, 35.3%) |
| CIE-LAB | lab(33.84, 23.04, -53.11) |
| CIE-LCH | lch(33.84, 57.89, 293.45°) |
| OKLab | oklab(43.83% -0.006 -0.153) |
| OKLCH | oklch(43.83% 0.153 267.7) |
| XYZ | xyz(10.2333, 7.9311, 36.5816) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.96
Cobalt (survey)
#1E488F
ΔE00 4.33
Sapphire
#0F52BA
ΔE00 4.90
Sapphire (survey)
#2138AB
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.11
Blueberry
#464196
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48A5 #A58B2E
analogous
#2E84A5 #2E48A5 #502EA5
triadic
#2E48A5 #A52E48 #48A52E
tetradic
#2E48A5 #A52E84 #A58B2E #2EA550
square
#2E48A5 #A52E84 #A58B2E #2EA550
split-complementary
#2E48A5 #A5502E #84A52E
monochromatic
#131E45 #213375 #2E48A5 #4562CB #758BD8
Accessibility & contrast
On white
8.12
#2E48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2E48A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48A5
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48A5 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e48a5; /* rgb */ color: rgb(46, 72, 165); /* oklch */ color: oklch(43.8% 0.153 267.7);
Tailwind
colors: {
custom: {
50: '#777ac0',
500: '#2e48a5',
950: '#000000',
},
}SCSS
$custom: #2e48a5; $custom-light: #777ac0; $custom-dark: #000000;
JSON
{
"hex": "#2e48a5",
"rgb": {
"r": 46,
"g": 72,
"b": 165
},
"hsl": {
"h": 226.891,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.43825,
"c": 0.15311,
"h": 267.7
},
"luminance": 0.07932
}Semantic roles & 50–950 ramp
primary
#2E48A5
secondary
#C0AE6F
accent
#BF48E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81