#2E48A9#2E48A9
#2E48A9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.159 H 267.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48A9 |
|---|---|
| RGB | rgb(46, 72, 169) |
| HSL | hsl(227, 57%, 42%) |
| HSV | hsv(227, 73%, 66%) |
| CMYK | cmyk(72.8%, 57.4%, 0%, 33.7%) |
| CIE-LAB | lab(34.15, 24.54, -55.00) |
| CIE-LCH | lch(34.15, 60.23, 294.05°) |
| OKLab | oklab(44.15% -0.0058 -0.1585) |
| OKLCH | oklch(44.15% 0.159 267.9) |
| XYZ | xyz(10.6030, 8.0790, 38.5290) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 4.93
Blueberry
#464196
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48A9 #A98F2E
analogous
#2E86A9 #2E48A9 #522EA9
triadic
#2E48A9 #A92E48 #48A92E
tetradic
#2E48A9 #A92E86 #A98F2E #2EA952
square
#2E48A9 #A92E86 #A98F2E #2EA952
split-complementary
#2E48A9 #A9522E #86A92E
monochromatic
#141F49 #213479 #2E48A9 #4763CD #778CDA
Accessibility & contrast
On white
8.03
#2E48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2E48A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48A9
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48A9 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e48a9; /* rgb */ color: rgb(46, 72, 169); /* oklch */ color: oklch(44.2% 0.159 267.9);
Tailwind
colors: {
custom: {
50: '#787ac3',
500: '#2e48a9',
950: '#000000',
},
}SCSS
$custom: #2e48a9; $custom-light: #787ac3; $custom-dark: #000000;
JSON
{
"hex": "#2e48a9",
"rgb": {
"r": 46,
"g": 72,
"b": 169
},
"hsl": {
"h": 227.317,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.44153,
"c": 0.15866,
"h": 267.9
},
"luminance": 0.0808
}Semantic roles & 50–950 ramp
primary
#2E48A9
secondary
#C2B171
accent
#C047E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82