#2A4AA9#2A4AA9
#2A4AA9 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.157 H 266.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AA9 |
|---|---|
| RGB | rgb(42, 74, 169) |
| HSL | hsl(225, 60%, 41%) |
| HSV | hsv(225, 75%, 66%) |
| CMYK | cmyk(75.1%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.50, 22.70, -54.43) |
| CIE-LCH | lch(34.50, 58.97, 292.63°) |
| OKLab | oklab(44.37% -0.0109 -0.1569) |
| OKLCH | oklch(44.37% 0.157 266) |
| XYZ | xyz(10.5625, 8.2532, 38.5648) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.43
Sapphire
#0F52BA
ΔE00 3.90
Cobalt (survey)
#1E488F
ΔE00 4.29
Blue Blue
#2242C7
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.71
Dusk Blue
#26538D
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AA9 #A9892A
analogous
#2A8AA9 #2A4AA9 #4A2AA9
triadic
#2A4AA9 #A92A4A #4AA92A
tetradic
#2A4AA9 #A92A8A #A9892A #2AA94A
square
#2A4AA9 #A92A8A #A9892A #2AA94A
split-complementary
#2A4AA9 #A94A2A #8AA92A
monochromatic
#121F47 #1E3578 #2A4AA9 #4165D0 #728CDC
Accessibility & contrast
On white
7.92
#2A4AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A4AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AA9
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AA9 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4aa9; /* rgb */ color: rgb(42, 74, 169); /* oklch */ color: oklch(44.4% 0.157 266.0);
Tailwind
colors: {
custom: {
50: '#767cc3',
500: '#2a4aa9',
950: '#000000',
},
}SCSS
$custom: #2a4aa9; $custom-light: #767cc3; $custom-dark: #000000;
JSON
{
"hex": "#2a4aa9",
"rgb": {
"r": 42,
"g": 74,
"b": 169
},
"hsl": {
"h": 224.882,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.44372,
"c": 0.1573,
"h": 266
},
"luminance": 0.08254
}Semantic roles & 50–950 ramp
primary
#2A4AA9
secondary
#C3AD6C
accent
#BB44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82