#2E48A1#2E48A1
#2E48A1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.147 H 267.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48A1 |
|---|---|
| RGB | rgb(46, 72, 161) |
| HSL | hsl(226, 56%, 41%) |
| HSV | hsv(226, 71%, 63%) |
| CMYK | cmyk(71.4%, 55.3%, 0%, 36.9%) |
| CIE-LAB | lab(33.54, 21.53, -51.19) |
| CIE-LCH | lch(33.54, 55.54, 292.81°) |
| OKLab | oklab(43.5% -0.0063 -0.1474) |
| OKLCH | oklch(43.5% 0.147 267.6) |
| XYZ | xyz(9.8749, 7.7878, 34.6941) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Cobalt (survey)
#1E488F
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 5.11
Sapphire (survey)
#2138AB
ΔE00 5.36
Blueberry
#464196
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48A1 #A1872E
analogous
#2E81A1 #2E48A1 #4D2EA1
triadic
#2E48A1 #A12E48 #48A12E
tetradic
#2E48A1 #A12E81 #A1872E #2EA14D
square
#2E48A1 #A12E81 #A1872E #2EA14D
split-complementary
#2E48A1 #A14D2E #81A12E
monochromatic
#131D42 #203371 #2E48A1 #4361C9 #7389D7
Accessibility & contrast
On white
8.21
#2E48A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2E48A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48A1
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48A1 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e48a1; /* rgb */ color: rgb(46, 72, 161); /* oklch */ color: oklch(43.5% 0.147 267.6);
Tailwind
colors: {
custom: {
50: '#767abd',
500: '#2e48a1',
950: '#000000',
},
}SCSS
$custom: #2e48a1; $custom-light: #767abd; $custom-dark: #000000;
JSON
{
"hex": "#2e48a1",
"rgb": {
"r": 46,
"g": 72,
"b": 161
},
"hsl": {
"h": 226.435,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.43502,
"c": 0.14749,
"h": 267.6
},
"luminance": 0.07789
}Semantic roles & 50–950 ramp
primary
#2E48A1
secondary
#BEAC6C
accent
#BD49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81