#2A48AA#2A48AA
#2A48AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.161 H 266.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48AA |
|---|---|
| RGB | rgb(42, 72, 170) |
| HSL | hsl(226, 60%, 42%) |
| HSV | hsv(226, 75%, 67%) |
| CMYK | cmyk(75.3%, 57.6%, 0%, 33.3%) |
| CIE-LAB | lab(34.04, 24.41, -55.78) |
| CIE-LCH | lch(34.04, 60.89, 293.64°) |
| OKLab | oklab(44.05% -0.0094 -0.1609) |
| OKLCH | oklch(44.05% 0.161 266.7) |
| XYZ | xyz(10.5254, 8.0281, 39.0173) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.57
Sapphire
#0F52BA
ΔE00 4.44
Blue Blue
#2242C7
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 4.99
Blueberry
#464196
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48AA #AA8C2A
analogous
#2A88AA #2A48AA #4C2AAA
triadic
#2A48AA #AA2A48 #48AA2A
tetradic
#2A48AA #AA2A88 #AA8C2A #2AAA4C
square
#2A48AA #AA2A88 #AA8C2A #2AAA4C
split-complementary
#2A48AA #AA4C2A #88AA2A
monochromatic
#121E48 #1E3379 #2A48AA #4163D0 #728BDC
Accessibility & contrast
On white
8.06
#2A48AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A48AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48AA
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48AA | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a48aa; /* rgb */ color: rgb(42, 72, 170); /* oklch */ color: oklch(44.0% 0.161 266.7);
Tailwind
colors: {
custom: {
50: '#767ac4',
500: '#2a48aa',
950: '#000000',
},
}SCSS
$custom: #2a48aa; $custom-light: #767ac4; $custom-dark: #000000;
JSON
{
"hex": "#2a48aa",
"rgb": {
"r": 42,
"g": 72,
"b": 170
},
"hsl": {
"h": 225.938,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.44048,
"c": 0.16119,
"h": 266.7
},
"luminance": 0.08029
}Semantic roles & 50–950 ramp
primary
#2A48AA
secondary
#C3AF6C
accent
#BE44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82