#2A48A4#2A48A4
#2A48A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.153 H 266.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48A4 |
|---|---|
| RGB | rgb(42, 72, 164) |
| HSL | hsl(225, 59%, 40%) |
| HSV | hsv(225, 74%, 64%) |
| CMYK | cmyk(74.4%, 56.1%, 0%, 35.7%) |
| CIE-LAB | lab(33.58, 22.12, -52.94) |
| CIE-LCH | lch(33.58, 57.38, 292.68°) |
| OKLab | oklab(43.55% -0.0097 -0.1526) |
| OKLCH | oklch(43.55% 0.153 266.4) |
| XYZ | xyz(9.9707, 7.8062, 36.0960) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.49
Cobalt (survey)
#1E488F
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 5.29
Blue Blue
#2242C7
ΔE00 5.36
Blueberry
#464196
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48A4 #A4862A
analogous
#2A85A4 #2A48A4 #492AA4
triadic
#2A48A4 #A42A48 #48A42A
tetradic
#2A48A4 #A42A85 #A4862A #2AA449
square
#2A48A4 #A42A85 #A4862A #2AA449
split-complementary
#2A48A4 #A4492A #85A42A
monochromatic
#111D43 #1E3373 #2A48A4 #3E61CD #6E89DA
Accessibility & contrast
On white
8.20
#2A48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2A48A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48A4
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48A4 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a48a4; /* rgb */ color: rgb(42, 72, 164); /* oklch */ color: oklch(43.6% 0.153 266.4);
Tailwind
colors: {
custom: {
50: '#757ac0',
500: '#2a48a4',
950: '#000000',
},
}SCSS
$custom: #2a48a4; $custom-light: #757ac0; $custom-dark: #000000;
JSON
{
"hex": "#2a48a4",
"rgb": {
"r": 42,
"g": 72,
"b": 164
},
"hsl": {
"h": 225.246,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.43552,
"c": 0.15289,
"h": 266.4
},
"luminance": 0.07807
}Semantic roles & 50–950 ramp
primary
#2A48A4
secondary
#C1AB69
accent
#BC45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81