#2A4DAE#2A4DAE
#2A4DAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.160 H 265.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DAE |
|---|---|
| RGB | rgb(42, 77, 174) |
| HSL | hsl(224, 61%, 42%) |
| HSV | hsv(224, 76%, 68%) |
| CMYK | cmyk(75.9%, 55.7%, 0%, 31.8%) |
| CIE-LAB | lab(35.70, 22.61, -55.46) |
| CIE-LCH | lch(35.70, 59.89, 292.18°) |
| OKLab | oklab(45.39% -0.0129 -0.1599) |
| OKLCH | oklch(45.39% 0.16 265.4) |
| XYZ | xyz(11.2460, 8.8547, 41.1526) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.78
Sapphire
#0F52BA
ΔE00 2.92
Cobalt (survey)
#1E488F
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.74
Denim Blue
#3B5B92
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DAE #AE8B2A
analogous
#2A8FAE #2A4DAE #492AAE
triadic
#2A4DAE #AE2A4D #4DAE2A
tetradic
#2A4DAE #AE2A8F #AE8B2A #2AAE49
square
#2A4DAE #AE2A8F #AE8B2A #2AAE49
split-complementary
#2A4DAE #AE492A #8FAE2A
monochromatic
#12214B #1E377D #2A4DAE #4369D2 #7591DE
Accessibility & contrast
On white
7.58
#2A4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2A4DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DAE
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DAE | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4dae; /* rgb */ color: rgb(42, 77, 174); /* oklch */ color: oklch(45.4% 0.160 265.4);
Tailwind
colors: {
custom: {
50: '#777ec7',
500: '#2a4dae',
950: '#000000',
},
}SCSS
$custom: #2a4dae; $custom-light: #777ec7; $custom-dark: #000000;
JSON
{
"hex": "#2a4dae",
"rgb": {
"r": 42,
"g": 77,
"b": 174
},
"hsl": {
"h": 224.091,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.45394,
"c": 0.16042,
"h": 265.4
},
"luminance": 0.08856
}Semantic roles & 50–950 ramp
primary
#2A4DAE
secondary
#C5AE6F
accent
#BA44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82