#2A4AA4#2A4AA4
#2A4AA4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.150 H 265.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AA4 |
|---|---|
| RGB | rgb(42, 74, 164) |
| HSL | hsl(224, 59%, 40%) |
| HSV | hsv(224, 74%, 64%) |
| CMYK | cmyk(74.4%, 54.9%, 0%, 35.7%) |
| CIE-LAB | lab(34.13, 20.78, -52.05) |
| CIE-LCH | lch(34.13, 56.05, 291.77°) |
| OKLab | oklab(43.97% -0.0113 -0.1499) |
| OKLCH | oklch(43.97% 0.15 265.7) |
| XYZ | xyz(10.1021, 8.0690, 36.1398) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.43
Cobalt (survey)
#1E488F
ΔE00 3.61
Sapphire
#0F52BA
ΔE00 4.16
Dusk Blue
#26538D
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AA4 #A4842A
analogous
#2A87A4 #2A4AA4 #472AA4
triadic
#2A4AA4 #A42A4A #4AA42A
tetradic
#2A4AA4 #A42A87 #A4842A #2AA447
square
#2A4AA4 #A42A87 #A4842A #2AA447
split-complementary
#2A4AA4 #A4472A #87A42A
monochromatic
#111E43 #1E3473 #2A4AA4 #3E63CD #6E8BDA
Accessibility & contrast
On white
8.03
#2A4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A4AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AA4
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AA4 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4aa4; /* rgb */ color: rgb(42, 74, 164); /* oklch */ color: oklch(44.0% 0.150 265.7);
Tailwind
colors: {
custom: {
50: '#757cc0',
500: '#2a4aa4',
950: '#000000',
},
}SCSS
$custom: #2a4aa4; $custom-light: #757cc0; $custom-dark: #000000;
JSON
{
"hex": "#2a4aa4",
"rgb": {
"r": 42,
"g": 74,
"b": 164
},
"hsl": {
"h": 224.262,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.43967,
"c": 0.15035,
"h": 265.7
},
"luminance": 0.0807
}Semantic roles & 50–950 ramp
primary
#2A4AA4
secondary
#C1AA69
accent
#B945E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81