#2E48A4#2E48A4
#2E48A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.152 H 267.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48A4 |
|---|---|
| RGB | rgb(46, 72, 164) |
| HSL | hsl(227, 56%, 41%) |
| HSV | hsv(227, 72%, 64%) |
| CMYK | cmyk(72%, 56.1%, 0%, 35.7%) |
| CIE-LAB | lab(33.76, 22.66, -52.63) |
| CIE-LCH | lch(33.76, 57.30, 293.30°) |
| OKLab | oklab(43.74% -0.0061 -0.1516) |
| OKLCH | oklch(43.74% 0.152 267.7) |
| XYZ | xyz(10.1426, 7.8949, 36.1041) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.97
Cobalt (survey)
#1E488F
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 5.25
Blueberry
#464196
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48A4 #A48A2E
analogous
#2E83A4 #2E48A4 #4F2EA4
triadic
#2E48A4 #A42E48 #48A42E
tetradic
#2E48A4 #A42E83 #A48A2E #2EA44F
square
#2E48A4 #A42E83 #A48A2E #2EA44F
split-complementary
#2E48A4 #A44F2E #83A42E
monochromatic
#131E44 #213374 #2E48A4 #4562CB #748AD8
Accessibility & contrast
On white
8.14
#2E48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2E48A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48A4
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48A4 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e48a4; /* rgb */ color: rgb(46, 72, 164); /* oklch */ color: oklch(43.7% 0.152 267.7);
Tailwind
colors: {
custom: {
50: '#777ac0',
500: '#2e48a4',
950: '#000000',
},
}SCSS
$custom: #2e48a4; $custom-light: #777ac0; $custom-dark: #000000;
JSON
{
"hex": "#2e48a4",
"rgb": {
"r": 46,
"g": 72,
"b": 164
},
"hsl": {
"h": 226.78,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.43744,
"c": 0.1517,
"h": 267.7
},
"luminance": 0.07896
}Semantic roles & 50–950 ramp
primary
#2E48A4
secondary
#C0AE6E
accent
#BE48DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81