#2A48A5#2A48A5
#2A48A5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.154 H 266.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48A5 |
|---|---|
| RGB | rgb(42, 72, 165) |
| HSL | hsl(225, 59%, 41%) |
| HSV | hsv(225, 75%, 65%) |
| CMYK | cmyk(74.5%, 56.4%, 0%, 35.3%) |
| CIE-LAB | lab(33.65, 22.50, -53.42) |
| CIE-LCH | lch(33.65, 57.97, 292.85°) |
| OKLab | oklab(43.63% -0.0096 -0.154) |
| OKLCH | oklch(43.63% 0.154 266.4) |
| XYZ | xyz(10.0614, 7.8425, 36.5735) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.49
Cobalt (survey)
#1E488F
ΔE00 3.98
Sapphire
#0F52BA
ΔE00 4.63
Blue Blue
#2242C7
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 5.23
Blueberry
#464196
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48A5 #A5872A
analogous
#2A85A5 #2A48A5 #4A2AA5
triadic
#2A48A5 #A52A48 #48A52A
tetradic
#2A48A5 #A52A85 #A5872A #2AA54A
square
#2A48A5 #A52A85 #A5872A #2AA54A
split-complementary
#2A48A5 #A54A2A #85A52A
monochromatic
#111D43 #1E3374 #2A48A5 #3E61CE #6F89DA
Accessibility & contrast
On white
8.18
#2A48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A48A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48A5
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48A5 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a48a5; /* rgb */ color: rgb(42, 72, 165); /* oklch */ color: oklch(43.6% 0.154 266.4);
Tailwind
colors: {
custom: {
50: '#757ac0',
500: '#2a48a5',
950: '#000000',
},
}SCSS
$custom: #2a48a5; $custom-light: #757ac0; $custom-dark: #000000;
JSON
{
"hex": "#2a48a5",
"rgb": {
"r": 42,
"g": 72,
"b": 165
},
"hsl": {
"h": 225.366,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.43634,
"c": 0.15428,
"h": 266.4
},
"luminance": 0.07844
}Semantic roles & 50–950 ramp
primary
#2A48A5
secondary
#C1AC69
accent
#BC45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81