#2A4AAD#2A4AAD
#2A4AAD is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.163 H 266.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AAD |
|---|---|
| RGB | rgb(42, 74, 173) |
| HSL | hsl(225, 61%, 42%) |
| HSV | hsv(225, 76%, 68%) |
| CMYK | cmyk(75.7%, 57.2%, 0%, 32.2%) |
| CIE-LAB | lab(34.81, 24.22, -56.31) |
| CIE-LCH | lch(34.81, 61.30, 293.27°) |
| OKLab | oklab(44.7% -0.0107 -0.1624) |
| OKLCH | oklch(44.7% 0.163 266.2) |
| XYZ | xyz(10.9438, 8.4057, 40.5728) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.59
Sapphire
#0F52BA
ΔE00 3.78
Blue Blue
#2242C7
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AAD #AD8D2A
analogous
#2A8BAD #2A4AAD #4C2AAD
triadic
#2A4AAD #AD2A4A #4AAD2A
tetradic
#2A4AAD #AD2A8B #AD8D2A #2AAD4C
square
#2A4AAD #AD2A8B #AD8D2A #2AAD4C
split-complementary
#2A4AAD #AD4C2A #8BAD2A
monochromatic
#12204B #1E357C #2A4AAD #4366D1 #748EDD
Accessibility & contrast
On white
7.83
#2A4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2A4AAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AAD
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AAD | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4aad; /* rgb */ color: rgb(42, 74, 173); /* oklch */ color: oklch(44.7% 0.163 266.2);
Tailwind
colors: {
custom: {
50: '#777cc6',
500: '#2a4aad',
950: '#000000',
},
}SCSS
$custom: #2a4aad; $custom-light: #777cc6; $custom-dark: #000000;
JSON
{
"hex": "#2a4aad",
"rgb": {
"r": 42,
"g": 74,
"b": 173
},
"hsl": {
"h": 225.344,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.44701,
"c": 0.1628,
"h": 266.2
},
"luminance": 0.08407
}Semantic roles & 50–950 ramp
primary
#2A4AAD
secondary
#C5B06E
accent
#BD44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82