#2A48B2#2A48B2
#2A48B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.172 H 267.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48B2 |
|---|---|
| RGB | rgb(42, 72, 178) |
| HSL | hsl(227, 62%, 43%) |
| HSV | hsv(227, 76%, 70%) |
| CMYK | cmyk(76.4%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.68, 27.44, -59.49) |
| CIE-LCH | lch(34.68, 65.52, 294.76°) |
| OKLab | oklab(44.73% -0.0091 -0.1718) |
| OKLCH | oklch(44.73% 0.172 267) |
| XYZ | xyz(11.3053, 8.3401, 43.1248) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Blue Blue
#2242C7
ΔE00 3.47
Sapphire
#0F52BA
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 5.71
Blue (survey)
#0343DF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48B2 #B2942A
analogous
#2A8CB2 #2A48B2 #502AB2
triadic
#2A48B2 #B22A48 #48B22A
tetradic
#2A48B2 #B22A8C #B2942A #2AB250
square
#2A48B2 #B22A8C #B2942A #2AB250
split-complementary
#2A48B2 #B2502A #8CB22A
monochromatic
#13204F #1E3480 #2A48B2 #4665D3 #778EDF
Accessibility & contrast
On white
7.87
#2A48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2A48B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48B2
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48B2 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a48b2; /* rgb */ color: rgb(42, 72, 178); /* oklch */ color: oklch(44.7% 0.172 267.0);
Tailwind
colors: {
custom: {
50: '#787aca',
500: '#2a48b2',
950: '#000000',
},
}SCSS
$custom: #2a48b2; $custom-light: #787aca; $custom-dark: #000000;
JSON
{
"hex": "#2a48b2",
"rgb": {
"r": 42,
"g": 72,
"b": 178
},
"hsl": {
"h": 226.765,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.44727,
"c": 0.17207,
"h": 267
},
"luminance": 0.08341
}Semantic roles & 50–950 ramp
primary
#2A48B2
secondary
#C7B471
accent
#C143E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82