#2E48AB#2E48AB
#2E48AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.161 H 268.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48AB |
|---|---|
| RGB | rgb(46, 72, 171) |
| HSL | hsl(228, 58%, 43%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(73.1%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.30, 25.29, -55.94) |
| CIE-LCH | lch(34.30, 61.39, 294.33°) |
| OKLab | oklab(44.32% -0.0058 -0.1613) |
| OKLCH | oklch(44.32% 0.161 268) |
| XYZ | xyz(10.7922, 8.1547, 39.5254) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Blue Blue
#2242C7
ΔE00 4.28
Sapphire
#0F52BA
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.09
Blueberry
#464196
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48AB #AB912E
analogous
#2E87AB #2E48AB #522EAB
triadic
#2E48AB #AB2E48 #48AB2E
tetradic
#2E48AB #AB2E87 #AB912E #2EAB52
square
#2E48AB #AB2E87 #AB912E #2EAB52
split-complementary
#2E48AB #AB522E #87AB2E
monochromatic
#141F4B #21347B #2E48AB #4864CE #798DDB
Accessibility & contrast
On white
7.98
#2E48AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2E48AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48AB
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48AB | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e48ab; /* rgb */ color: rgb(46, 72, 171); /* oklch */ color: oklch(44.3% 0.161 268.0);
Tailwind
colors: {
custom: {
50: '#787ac5',
500: '#2e48ab',
950: '#000000',
},
}SCSS
$custom: #2e48ab; $custom-light: #787ac5; $custom-dark: #000000;
JSON
{
"hex": "#2e48ab",
"rgb": {
"r": 46,
"g": 72,
"b": 171
},
"hsl": {
"h": 227.52,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.44319,
"c": 0.16142,
"h": 268
},
"luminance": 0.08156
}Semantic roles & 50–950 ramp
primary
#2E48AB
secondary
#C3B272
accent
#C147E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82