#2A4AA5#2A4AA5
#2A4AA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.152 H 265.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AA5 |
|---|---|
| RGB | rgb(42, 74, 165) |
| HSL | hsl(224, 59%, 41%) |
| HSV | hsv(224, 75%, 65%) |
| CMYK | cmyk(74.5%, 55.2%, 0%, 35.3%) |
| CIE-LAB | lab(34.20, 21.17, -52.53) |
| CIE-LCH | lch(34.20, 56.63, 291.95°) |
| OKLab | oklab(44.05% -0.0112 -0.1513) |
| OKLCH | oklch(44.05% 0.152 265.8) |
| XYZ | xyz(10.1928, 8.1053, 36.6173) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Cobalt (survey)
#1E488F
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.58
Sapphire (survey)
#2138AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AA5 #A5852A
analogous
#2A87A5 #2A4AA5 #472AA5
triadic
#2A4AA5 #A52A4A #4AA52A
tetradic
#2A4AA5 #A52A87 #A5852A #2AA547
square
#2A4AA5 #A52A87 #A5852A #2AA547
split-complementary
#2A4AA5 #A5472A #87A52A
monochromatic
#111E43 #1E3474 #2A4AA5 #3E64CE #6F8BDA
Accessibility & contrast
On white
8.01
#2A4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2A4AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AA5
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AA5 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4aa5; /* rgb */ color: rgb(42, 74, 165); /* oklch */ color: oklch(44.0% 0.152 265.8);
Tailwind
colors: {
custom: {
50: '#757cc0',
500: '#2a4aa5',
950: '#000000',
},
}SCSS
$custom: #2a4aa5; $custom-light: #757cc0; $custom-dark: #000000;
JSON
{
"hex": "#2a4aa5",
"rgb": {
"r": 42,
"g": 74,
"b": 165
},
"hsl": {
"h": 224.39,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.44047,
"c": 0.15175,
"h": 265.8
},
"luminance": 0.08106
}Semantic roles & 50–950 ramp
primary
#2A4AA5
secondary
#C1AA69
accent
#BA45E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81