#2E48A6#2E48A6
#2E48A6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.154 H 267.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48A6 |
|---|---|
| RGB | rgb(46, 72, 166) |
| HSL | hsl(227, 57%, 42%) |
| HSV | hsv(227, 72%, 65%) |
| CMYK | cmyk(72.3%, 56.6%, 0%, 34.9%) |
| CIE-LAB | lab(33.92, 23.42, -53.58) |
| CIE-LCH | lch(33.92, 58.48, 293.61°) |
| OKLab | oklab(43.91% -0.006 -0.1544) |
| OKLCH | oklch(43.91% 0.155 267.8) |
| XYZ | xyz(10.3246, 7.9677, 37.0628) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.96
Cobalt (survey)
#1E488F
ΔE00 4.45
Sapphire
#0F52BA
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.06
Blueberry
#464196
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48A6 #A68C2E
analogous
#2E84A6 #2E48A6 #502EA6
triadic
#2E48A6 #A62E48 #48A62E
tetradic
#2E48A6 #A62E84 #A68C2E #2EA650
square
#2E48A6 #A62E84 #A68C2E #2EA650
split-complementary
#2E48A6 #A6502E #84A62E
monochromatic
#131E46 #213376 #2E48A6 #4663CC #768BD9
Accessibility & contrast
On white
8.10
#2E48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2E48A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48A6
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48A6 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e48a6; /* rgb */ color: rgb(46, 72, 166); /* oklch */ color: oklch(43.9% 0.154 267.8);
Tailwind
colors: {
custom: {
50: '#777ac1',
500: '#2e48a6',
950: '#000000',
},
}SCSS
$custom: #2e48a6; $custom-light: #777ac1; $custom-dark: #000000;
JSON
{
"hex": "#2e48a6",
"rgb": {
"r": 46,
"g": 72,
"b": 166
},
"hsl": {
"h": 227,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.43906,
"c": 0.1545,
"h": 267.8
},
"luminance": 0.07969
}Semantic roles & 50–950 ramp
primary
#2E48A6
secondary
#C1AF6F
accent
#BF48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81