#2A4BA2#2A4BA2
#2A4BA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.146 H 265.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BA2 |
|---|---|
| RGB | rgb(42, 75, 162) |
| HSL | hsl(224, 59%, 40%) |
| HSV | hsv(224, 74%, 64%) |
| CMYK | cmyk(74.1%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(34.26, 19.34, -50.64) |
| CIE-LCH | lch(34.26, 54.21, 290.91°) |
| OKLab | oklab(44.02% -0.0123 -0.1458) |
| OKLCH | oklch(44.02% 0.146 265.2) |
| XYZ | xyz(9.9902, 8.1320, 35.2185) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Cobalt (survey)
#1E488F
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 4.05
Dusk Blue
#26538D
ΔE00 4.97
Denim Blue
#3B5B92
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BA2 #A2812A
analogous
#2A87A2 #2A4BA2 #452AA2
triadic
#2A4BA2 #A22A4B #4BA22A
tetradic
#2A4BA2 #A22A87 #A2812A #2AA245
square
#2A4BA2 #A22A87 #A2812A #2AA245
split-complementary
#2A4BA2 #A2452A #87A22A
monochromatic
#111E41 #1D3471 #2A4BA2 #3D64CD #6D8BD9
Accessibility & contrast
On white
8.00
#2A4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2A4BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BA2
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BA2 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C56A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4ba2; /* rgb */ color: rgb(42, 75, 162); /* oklch */ color: oklch(44.0% 0.146 265.2);
Tailwind
colors: {
custom: {
50: '#747cbe',
500: '#2a4ba2',
950: '#000000',
},
}SCSS
$custom: #2a4ba2; $custom-light: #747cbe; $custom-dark: #000000;
JSON
{
"hex": "#2a4ba2",
"rgb": {
"r": 42,
"g": 75,
"b": 162
},
"hsl": {
"h": 223.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.44018,
"c": 0.14628,
"h": 265.2
},
"luminance": 0.08133
}Semantic roles & 50–950 ramp
primary
#2A4BA2
secondary
#C0A868
accent
#B746E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81