#2A48A6#2A48A6
#2A48A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.156 H 266.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48A6 |
|---|---|
| RGB | rgb(42, 72, 166) |
| HSL | hsl(225, 60%, 41%) |
| HSV | hsv(225, 75%, 65%) |
| CMYK | cmyk(74.7%, 56.6%, 0%, 34.9%) |
| CIE-LAB | lab(33.73, 22.89, -53.89) |
| CIE-LCH | lch(33.73, 58.55, 293.01°) |
| OKLab | oklab(43.72% -0.0096 -0.1554) |
| OKLCH | oklch(43.72% 0.156 266.5) |
| XYZ | xyz(10.1527, 7.8790, 37.0547) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.49
Cobalt (survey)
#1E488F
ΔE00 4.11
Sapphire
#0F52BA
ΔE00 4.58
Blue Blue
#2242C7
ΔE00 5.08
Sapphire (survey)
#2138AB
ΔE00 5.17
Blueberry
#464196
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48A6 #A6882A
analogous
#2A86A6 #2A48A6 #4A2AA6
triadic
#2A48A6 #A62A48 #48A62A
tetradic
#2A48A6 #A62A86 #A6882A #2AA64A
square
#2A48A6 #A62A86 #A6882A #2AA64A
split-complementary
#2A48A6 #A64A2A #86A62A
monochromatic
#111E44 #1E3375 #2A48A6 #3F62CE #708ADB
Accessibility & contrast
On white
8.15
#2A48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2A48A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48A6
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48A6 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a48a6; /* rgb */ color: rgb(42, 72, 166); /* oklch */ color: oklch(43.7% 0.156 266.5);
Tailwind
colors: {
custom: {
50: '#757ac1',
500: '#2a48a6',
950: '#000000',
},
}SCSS
$custom: #2a48a6; $custom-light: #757ac1; $custom-dark: #000000;
JSON
{
"hex": "#2a48a6",
"rgb": {
"r": 42,
"g": 72,
"b": 166
},
"hsl": {
"h": 225.484,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.43716,
"c": 0.15568,
"h": 266.5
},
"luminance": 0.0788
}Semantic roles & 50–950 ramp
primary
#2A48A6
secondary
#C2AD6A
accent
#BD45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81