#2A4AA0#2A4AA0
#2A4AA0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.145 H 265.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AA0 |
|---|---|
| RGB | rgb(42, 74, 160) |
| HSL | hsl(224, 58%, 40%) |
| HSV | hsv(224, 74%, 63%) |
| CMYK | cmyk(73.8%, 53.7%, 0%, 37.3%) |
| CIE-LAB | lab(33.83, 19.25, -50.13) |
| CIE-LCH | lch(33.83, 53.70, 291.01°) |
| OKLab | oklab(43.65% -0.0116 -0.1443) |
| OKLCH | oklch(43.65% 0.145 265.4) |
| XYZ | xyz(9.7466, 7.9268, 34.2673) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.58
Cobalt (survey)
#1E488F
ΔE00 3.08
Sapphire
#0F52BA
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 5.08
Darkish Blue
#014182
ΔE00 5.98
Denim Blue
#3B5B92
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AA0 #A0802A
analogous
#2A85A0 #2A4AA0 #452AA0
triadic
#2A4AA0 #A02A4A #4AA02A
tetradic
#2A4AA0 #A02A85 #A0802A #2AA045
square
#2A4AA0 #A02A85 #A0802A #2AA045
split-complementary
#2A4AA0 #A0452A #85A02A
monochromatic
#111D3F #1D3470 #2A4AA0 #3C63CC #6C89D8
Accessibility & contrast
On white
8.12
#2A4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2A4AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AA0
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AA0 | 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)
#0C55A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4aa0; /* rgb */ color: rgb(42, 74, 160); /* oklch */ color: oklch(43.6% 0.145 265.4);
Tailwind
colors: {
custom: {
50: '#747cbd',
500: '#2a4aa0',
950: '#000000',
},
}SCSS
$custom: #2a4aa0; $custom-light: #747cbd; $custom-dark: #000000;
JSON
{
"hex": "#2a4aa0",
"rgb": {
"r": 42,
"g": 74,
"b": 160
},
"hsl": {
"h": 223.729,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.43649,
"c": 0.14474,
"h": 265.4
},
"luminance": 0.07928
}Semantic roles & 50–950 ramp
primary
#2A4AA0
secondary
#BFA767
accent
#B746E2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81