#2A4AAB#2A4AAB
#2A4AAB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.160 H 266.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AAB |
|---|---|
| RGB | rgb(42, 74, 171) |
| HSL | hsl(225, 61%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(75.4%, 56.7%, 0%, 32.9%) |
| CIE-LAB | lab(34.66, 23.46, -55.37) |
| CIE-LCH | lch(34.66, 60.14, 292.96°) |
| OKLab | oklab(44.54% -0.0108 -0.1597) |
| OKLCH | oklch(44.54% 0.16 266.1) |
| XYZ | xyz(10.7517, 8.3289, 39.5612) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.50
Sapphire
#0F52BA
ΔE00 3.83
Cobalt (survey)
#1E488F
ΔE00 4.56
Blue Blue
#2242C7
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AAB #AB8B2A
analogous
#2A8BAB #2A4AAB #4B2AAB
triadic
#2A4AAB #AB2A4A #4AAB2A
tetradic
#2A4AAB #AB2A8B #AB8B2A #2AAB4B
square
#2A4AAB #AB2A8B #AB8B2A #2AAB4B
split-complementary
#2A4AAB #AB4B2A #8BAB2A
monochromatic
#121F49 #1E357A #2A4AAB #4265D1 #738DDD
Accessibility & contrast
On white
7.88
#2A4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2A4AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AAB
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AAB | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4aab; /* rgb */ color: rgb(42, 74, 171); /* oklch */ color: oklch(44.5% 0.160 266.1);
Tailwind
colors: {
custom: {
50: '#777cc5',
500: '#2a4aab',
950: '#000000',
},
}SCSS
$custom: #2a4aab; $custom-light: #777cc5; $custom-dark: #000000;
JSON
{
"hex": "#2a4aab",
"rgb": {
"r": 42,
"g": 74,
"b": 171
},
"hsl": {
"h": 225.116,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.44536,
"c": 0.16006,
"h": 266.1
},
"luminance": 0.0833
}Semantic roles & 50–950 ramp
primary
#2A4AAB
secondary
#C4AE6D
accent
#BC44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82