#2A4AAE#2A4AAE
#2A4AAE is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.164 H 266.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AAE |
|---|---|
| RGB | rgb(42, 74, 174) |
| HSL | hsl(225, 61%, 42%) |
| HSV | hsv(225, 76%, 68%) |
| CMYK | cmyk(75.9%, 57.5%, 0%, 31.8%) |
| CIE-LAB | lab(34.89, 24.60, -56.78) |
| CIE-LCH | lch(34.89, 61.88, 293.43°) |
| OKLab | oklab(44.79% -0.0107 -0.1638) |
| OKLCH | oklch(44.79% 0.164 266.3) |
| XYZ | xyz(11.0409, 8.4446, 41.0843) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.65
Sapphire
#0F52BA
ΔE00 3.76
Blue Blue
#2242C7
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.55
Dusk Blue
#26538D
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AAE #AE8E2A
analogous
#2A8CAE #2A4AAE #4C2AAE
triadic
#2A4AAE #AE2A4A #4AAE2A
tetradic
#2A4AAE #AE2A8C #AE8E2A #2AAE4C
square
#2A4AAE #AE2A8C #AE8E2A #2AAE4C
split-complementary
#2A4AAE #AE4C2A #8CAE2A
monochromatic
#12204B #1E357D #2A4AAE #4366D2 #758EDE
Accessibility & contrast
On white
7.81
#2A4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2A4AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AAE
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AAE | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4aae; /* rgb */ color: rgb(42, 74, 174); /* oklch */ color: oklch(44.8% 0.164 266.3);
Tailwind
colors: {
custom: {
50: '#777cc7',
500: '#2a4aae',
950: '#000000',
},
}SCSS
$custom: #2a4aae; $custom-light: #777cc7; $custom-dark: #000000;
JSON
{
"hex": "#2a4aae",
"rgb": {
"r": 42,
"g": 74,
"b": 174
},
"hsl": {
"h": 225.455,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.44785,
"c": 0.16417,
"h": 266.3
},
"luminance": 0.08446
}Semantic roles & 50–950 ramp
primary
#2A4AAE
secondary
#C5B06F
accent
#BD44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82