#2A4BA9#2A4BA9
#2A4BA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.156 H 265.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BA9 |
|---|---|
| RGB | rgb(42, 75, 169) |
| HSL | hsl(224, 60%, 41%) |
| HSV | hsv(224, 75%, 66%) |
| CMYK | cmyk(75.1%, 55.6%, 0%, 33.7%) |
| CIE-LAB | lab(34.78, 22.03, -53.98) |
| CIE-LCH | lch(34.78, 58.31, 292.20°) |
| OKLab | oklab(44.58% -0.0117 -0.1556) |
| OKLCH | oklch(44.58% 0.156 265.7) |
| XYZ | xyz(10.6298, 8.3878, 38.5872) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.45
Sapphire
#0F52BA
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 4.22
Blue Blue
#2242C7
ΔE00 5.25
Dusk Blue
#26538D
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BA9 #A9882A
analogous
#2A8BA9 #2A4BA9 #482AA9
triadic
#2A4BA9 #A92A4B #4BA92A
tetradic
#2A4BA9 #A92A8B #A9882A #2AA948
square
#2A4BA9 #A92A8B #A9882A #2AA948
split-complementary
#2A4BA9 #A9482A #8BA92A
monochromatic
#121F47 #1E3578 #2A4BA9 #4166D0 #728DDC
Accessibility & contrast
On white
7.84
#2A4BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2A4BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BA9
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BA9 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4ba9; /* rgb */ color: rgb(42, 75, 169); /* oklch */ color: oklch(44.6% 0.156 265.7);
Tailwind
colors: {
custom: {
50: '#767cc3',
500: '#2a4ba9',
950: '#000000',
},
}SCSS
$custom: #2a4ba9; $custom-light: #767cc3; $custom-dark: #000000;
JSON
{
"hex": "#2a4ba9",
"rgb": {
"r": 42,
"g": 75,
"b": 169
},
"hsl": {
"h": 224.409,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.44577,
"c": 0.15604,
"h": 265.7
},
"luminance": 0.08389
}Semantic roles & 50–950 ramp
primary
#2A4BA9
secondary
#C3AC6C
accent
#BA44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82