#2A48A8#2A48A8
#2A48A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.158 H 266.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48A8 |
|---|---|
| RGB | rgb(42, 72, 168) |
| HSL | hsl(226, 60%, 41%) |
| HSV | hsv(226, 75%, 66%) |
| CMYK | cmyk(75%, 57.1%, 0%, 34.1%) |
| CIE-LAB | lab(33.88, 23.65, -54.84) |
| CIE-LCH | lch(33.88, 59.72, 293.33°) |
| OKLab | oklab(43.88% -0.0095 -0.1582) |
| OKLCH | oklch(43.88% 0.158 266.6) |
| XYZ | xyz(10.3376, 7.9530, 38.0285) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Cobalt (survey)
#1E488F
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 5.07
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48A8 #A88A2A
analogous
#2A87A8 #2A48A8 #4B2AA8
triadic
#2A48A8 #A82A48 #48A82A
tetradic
#2A48A8 #A82A87 #A88A2A #2AA84B
square
#2A48A8 #A82A87 #A88A2A #2AA84B
split-complementary
#2A48A8 #A84B2A #87A82A
monochromatic
#121E46 #1E3377 #2A48A8 #4062CF #718ADB
Accessibility & contrast
On white
8.11
#2A48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2A48A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48A8
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48A8 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a48a8; /* rgb */ color: rgb(42, 72, 168); /* oklch */ color: oklch(43.9% 0.158 266.6);
Tailwind
colors: {
custom: {
50: '#767ac3',
500: '#2a48a8',
950: '#000000',
},
}SCSS
$custom: #2a48a8; $custom-light: #767ac3; $custom-dark: #000000;
JSON
{
"hex": "#2a48a8",
"rgb": {
"r": 42,
"g": 72,
"b": 168
},
"hsl": {
"h": 225.714,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.43881,
"c": 0.15843,
"h": 266.6
},
"luminance": 0.07954
}Semantic roles & 50–950 ramp
primary
#2A48A8
secondary
#C3AE6B
accent
#BD45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81