#2A48AB#2A48AB
#2A48AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.163 H 266.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48AB |
|---|---|
| RGB | rgb(42, 72, 171) |
| HSL | hsl(226, 61%, 42%) |
| HSV | hsv(226, 75%, 67%) |
| CMYK | cmyk(75.4%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.12, 24.79, -56.25) |
| CIE-LCH | lch(34.12, 61.47, 293.79°) |
| OKLab | oklab(44.13% -0.0093 -0.1623) |
| OKLCH | oklch(44.13% 0.163 266.7) |
| XYZ | xyz(10.6203, 8.0661, 39.5174) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Blue Blue
#2242C7
ΔE00 4.39
Sapphire
#0F52BA
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 4.95
Blueberry
#464196
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48AB #AB8D2A
analogous
#2A88AB #2A48AB #4D2AAB
triadic
#2A48AB #AB2A48 #48AB2A
tetradic
#2A48AB #AB2A88 #AB8D2A #2AAB4D
square
#2A48AB #AB2A88 #AB8D2A #2AAB4D
split-complementary
#2A48AB #AB4D2A #88AB2A
monochromatic
#121F49 #1E337A #2A48AB #4263D1 #738BDD
Accessibility & contrast
On white
8.04
#2A48AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A48AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48AB
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48AB | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a48ab; /* rgb */ color: rgb(42, 72, 171); /* oklch */ color: oklch(44.1% 0.163 266.7);
Tailwind
colors: {
custom: {
50: '#777ac5',
500: '#2a48ab',
950: '#000000',
},
}SCSS
$custom: #2a48ab; $custom-light: #777ac5; $custom-dark: #000000;
JSON
{
"hex": "#2a48ab",
"rgb": {
"r": 42,
"g": 72,
"b": 171
},
"hsl": {
"h": 226.047,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.44132,
"c": 0.16256,
"h": 266.7
},
"luminance": 0.08067
}Semantic roles & 50–950 ramp
primary
#2A48AB
secondary
#C4B06D
accent
#BF44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82