#2A48A2#2A48A2
#2A48A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.150 H 266.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48A2 |
|---|---|
| RGB | rgb(42, 72, 162) |
| HSL | hsl(225, 59%, 40%) |
| HSV | hsv(225, 74%, 64%) |
| CMYK | cmyk(74.1%, 55.6%, 0%, 36.5%) |
| CIE-LAB | lab(33.42, 21.36, -51.99) |
| CIE-LCH | lch(33.42, 56.20, 292.33°) |
| OKLab | oklab(43.39% -0.0098 -0.1498) |
| OKLCH | oklch(43.39% 0.15 266.2) |
| XYZ | xyz(9.7915, 7.7346, 35.1523) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Cobalt (survey)
#1E488F
ΔE00 3.58
Sapphire
#0F52BA
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.65
Dusk Blue
#26538D
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48A2 #A2842A
analogous
#2A84A2 #2A48A2 #482AA2
triadic
#2A48A2 #A22A48 #48A22A
tetradic
#2A48A2 #A22A84 #A2842A #2AA248
square
#2A48A2 #A22A84 #A2842A #2AA248
split-complementary
#2A48A2 #A2482A #84A22A
monochromatic
#111D41 #1D3271 #2A48A2 #3D61CD #6D88D9
Accessibility & contrast
On white
8.24
#2A48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2A48A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48A2
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48A2 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a48a2; /* rgb */ color: rgb(42, 72, 162); /* oklch */ color: oklch(43.4% 0.150 266.2);
Tailwind
colors: {
custom: {
50: '#757abe',
500: '#2a48a2',
950: '#000000',
},
}SCSS
$custom: #2a48a2; $custom-light: #757abe; $custom-dark: #000000;
JSON
{
"hex": "#2a48a2",
"rgb": {
"r": 42,
"g": 72,
"b": 162
},
"hsl": {
"h": 225,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.43389,
"c": 0.1501,
"h": 266.2
},
"luminance": 0.07736
}Semantic roles & 50–950 ramp
primary
#2A48A2
secondary
#C0AA68
accent
#BB46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81