#2A49A4#2A49A4
#2A49A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.152 H 266.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49A4 |
|---|---|
| RGB | rgb(42, 73, 164) |
| HSL | hsl(225, 59%, 40%) |
| HSV | hsv(225, 74%, 64%) |
| CMYK | cmyk(74.4%, 55.5%, 0%, 35.7%) |
| CIE-LAB | lab(33.85, 21.45, -52.50) |
| CIE-LCH | lch(33.85, 56.71, 292.23°) |
| OKLab | oklab(43.76% -0.0105 -0.1513) |
| OKLCH | oklch(43.76% 0.152 266) |
| XYZ | xyz(10.0359, 7.9366, 36.1178) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.43
Cobalt (survey)
#1E488F
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.63
Dusk Blue
#26538D
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49A4 #A4852A
analogous
#2A86A4 #2A49A4 #482AA4
triadic
#2A49A4 #A42A49 #49A42A
tetradic
#2A49A4 #A42A86 #A4852A #2AA448
square
#2A49A4 #A42A86 #A4852A #2AA448
split-complementary
#2A49A4 #A4482A #86A42A
monochromatic
#111E43 #1E3373 #2A49A4 #3E62CD #6E8ADA
Accessibility & contrast
On white
8.12
#2A49A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2A49A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49A4
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49A4 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a49a4; /* rgb */ color: rgb(42, 73, 164); /* oklch */ color: oklch(43.8% 0.152 266.0);
Tailwind
colors: {
custom: {
50: '#757bc0',
500: '#2a49a4',
950: '#000000',
},
}SCSS
$custom: #2a49a4; $custom-light: #757bc0; $custom-dark: #000000;
JSON
{
"hex": "#2a49a4",
"rgb": {
"r": 42,
"g": 73,
"b": 164
},
"hsl": {
"h": 224.754,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.43759,
"c": 0.15162,
"h": 266
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#2A49A4
secondary
#C1AB69
accent
#BB45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81