#2A4AA2#2A4AA2
#2A4AA2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.148 H 265.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AA2 |
|---|---|
| RGB | rgb(42, 74, 162) |
| HSL | hsl(224, 59%, 40%) |
| HSV | hsv(224, 74%, 64%) |
| CMYK | cmyk(74.1%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(33.98, 20.01, -51.09) |
| CIE-LCH | lch(33.98, 54.87, 291.39°) |
| OKLab | oklab(43.81% -0.0115 -0.1471) |
| OKLCH | oklch(43.81% 0.148 265.5) |
| XYZ | xyz(9.9229, 7.9974, 35.1961) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.48
Cobalt (survey)
#1E488F
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 4.28
Dusk Blue
#26538D
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 5.99
Sapphire (survey)
#2138AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AA2 #A2822A
analogous
#2A86A2 #2A4AA2 #462AA2
triadic
#2A4AA2 #A22A4A #4AA22A
tetradic
#2A4AA2 #A22A86 #A2822A #2AA246
square
#2A4AA2 #A22A86 #A2822A #2AA246
split-complementary
#2A4AA2 #A2462A #86A22A
monochromatic
#111E41 #1D3471 #2A4AA2 #3D63CD #6D8AD9
Accessibility & contrast
On white
8.08
#2A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2A4AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AA2
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AA2 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4aa2; /* rgb */ color: rgb(42, 74, 162); /* oklch */ color: oklch(43.8% 0.148 265.5);
Tailwind
colors: {
custom: {
50: '#747cbe',
500: '#2a4aa2',
950: '#000000',
},
}SCSS
$custom: #2a4aa2; $custom-light: #747cbe; $custom-dark: #000000;
JSON
{
"hex": "#2a4aa2",
"rgb": {
"r": 42,
"g": 74,
"b": 162
},
"hsl": {
"h": 224,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.43807,
"c": 0.14755,
"h": 265.5
},
"luminance": 0.07998
}Semantic roles & 50–950 ramp
primary
#2A4AA2
secondary
#C0A868
accent
#B846E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81