#2A48B5#2A48B5
#2A48B5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.176 H 267.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48B5 |
|---|---|
| RGB | rgb(42, 72, 181) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 77%, 71%) |
| CMYK | cmyk(76.8%, 60.2%, 0%, 29%) |
| CIE-LAB | lab(34.93, 28.57, -60.87) |
| CIE-LCH | lch(34.93, 67.24, 295.14°) |
| OKLab | oklab(44.99% -0.0091 -0.1759) |
| OKLCH | oklch(44.99% 0.176 267) |
| XYZ | xyz(11.6098, 8.4619, 44.7285) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.10
Cobalt
#0047AB
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 4.39
Sapphire (survey)
#2138AB
ΔE00 4.88
Blue (survey)
#0343DF
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48B5 #B5972A
analogous
#2A8DB5 #2A48B5 #512AB5
triadic
#2A48B5 #B52A48 #48B52A
tetradic
#2A48B5 #B52A8D #B5972A #2AB551
square
#2A48B5 #B52A8D #B5972A #2AB551
split-complementary
#2A48B5 #B5512A #8DB52A
monochromatic
#132052 #1E3483 #2A48B5 #4866D4 #7990E0
Accessibility & contrast
On white
7.80
#2A48B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2A48B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48B5
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48B5 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a48b5; /* rgb */ color: rgb(42, 72, 181); /* oklch */ color: oklch(45.0% 0.176 267.0);
Tailwind
colors: {
custom: {
50: '#797acc',
500: '#2a48b5',
950: '#000000',
},
}SCSS
$custom: #2a48b5; $custom-light: #797acc; $custom-dark: #000000;
JSON
{
"hex": "#2a48b5",
"rgb": {
"r": 42,
"g": 72,
"b": 181
},
"hsl": {
"h": 227.05,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.44986,
"c": 0.1761,
"h": 267
},
"luminance": 0.08463
}Semantic roles & 50–950 ramp
primary
#2A48B5
secondary
#C8B673
accent
#C242E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82