#2A4BA7#2A4BA7
#2A4BA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.153 H 265.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BA7 |
|---|---|
| RGB | rgb(42, 75, 167) |
| HSL | hsl(224, 60%, 41%) |
| HSV | hsv(224, 75%, 65%) |
| CMYK | cmyk(74.9%, 55.1%, 0%, 34.5%) |
| CIE-LAB | lab(34.63, 21.26, -53.03) |
| CIE-LCH | lch(34.63, 57.14, 291.85°) |
| OKLab | oklab(44.42% -0.0119 -0.1528) |
| OKLCH | oklch(44.42% 0.153 265.6) |
| XYZ | xyz(10.4435, 8.3133, 37.6059) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.43
Sapphire
#0F52BA
ΔE00 3.73
Cobalt (survey)
#1E488F
ΔE00 3.94
Dusk Blue
#26538D
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BA7 #A7862A
analogous
#2A89A7 #2A4BA7 #472AA7
triadic
#2A4BA7 #A72A4B #4BA72A
tetradic
#2A4BA7 #A72A89 #A7862A #2AA747
square
#2A4BA7 #A72A89 #A7862A #2AA747
split-complementary
#2A4BA7 #A7472A #89A72A
monochromatic
#111F45 #1E3576 #2A4BA7 #3F65CF #708CDB
Accessibility & contrast
On white
7.89
#2A4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A4BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BA7
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BA7 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4ba7; /* rgb */ color: rgb(42, 75, 167); /* oklch */ color: oklch(44.4% 0.153 265.6);
Tailwind
colors: {
custom: {
50: '#767cc2',
500: '#2a4ba7',
950: '#000000',
},
}SCSS
$custom: #2a4ba7; $custom-light: #767cc2; $custom-dark: #000000;
JSON
{
"hex": "#2a4ba7",
"rgb": {
"r": 42,
"g": 75,
"b": 167
},
"hsl": {
"h": 224.16,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.44416,
"c": 0.15326,
"h": 265.6
},
"luminance": 0.08314
}Semantic roles & 50–950 ramp
primary
#2A4BA7
secondary
#C2AB6B
accent
#B945E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81