#2E48B2#2E48B2
#2E48B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.171 H 268.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48B2 |
|---|---|
| RGB | rgb(46, 72, 178) |
| HSL | hsl(228, 59%, 44%) |
| HSV | hsv(228, 74%, 70%) |
| CMYK | cmyk(74.2%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.86, 27.91, -59.20) |
| CIE-LCH | lch(34.86, 65.45, 295.24°) |
| OKLab | oklab(44.91% -0.0056 -0.1709) |
| OKLCH | oklch(44.91% 0.171 268.1) |
| XYZ | xyz(11.4772, 8.4287, 43.1329) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.37
Cobalt
#0047AB
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 5.59
Blue (survey)
#0343DF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48B2 #B2982E
analogous
#2E8AB2 #2E48B2 #562EB2
triadic
#2E48B2 #B22E48 #48B22E
tetradic
#2E48B2 #B22E8A #B2982E #2EB256
square
#2E48B2 #B22E8A #B2982E #2EB256
split-complementary
#2E48B2 #B2562E #8AB22E
monochromatic
#152151 #213481 #2E48B2 #4C66D1 #7D90DD
Accessibility & contrast
On white
7.82
#2E48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2E48B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48B2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48B2 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e48b2; /* rgb */ color: rgb(46, 72, 178); /* oklch */ color: oklch(44.9% 0.171 268.1);
Tailwind
colors: {
custom: {
50: '#7a7aca',
500: '#2e48b2',
950: '#000000',
},
}SCSS
$custom: #2e48b2; $custom-light: #7a7aca; $custom-dark: #000000;
JSON
{
"hex": "#2e48b2",
"rgb": {
"r": 46,
"g": 72,
"b": 178
},
"hsl": {
"h": 228.182,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.44909,
"c": 0.17097,
"h": 268.1
},
"luminance": 0.0843
}Semantic roles & 50–950 ramp
primary
#2E48B2
secondary
#C6B676
accent
#C346E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82