#2A429D#2A429D
#2A429D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.151 H 268.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A429D |
|---|---|
| RGB | rgb(42, 66, 157) |
| HSL | hsl(227, 58%, 39%) |
| HSV | hsv(227, 73%, 62%) |
| CMYK | cmyk(73.2%, 58%, 0%, 38.4%) |
| CIE-LAB | lab(31.40, 23.48, -52.26) |
| CIE-LCH | lch(31.40, 57.29, 294.20°) |
| OKLab | oklab(41.75% -0.0053 -0.1507) |
| OKLCH | oklch(41.75% 0.151 268) |
| XYZ | xyz(8.9868, 6.8221, 32.7349) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.68
Sapphire (survey)
#2138AB
ΔE00 3.94
Cobalt (survey)
#1E488F
ΔE00 4.34
Blueberry
#464196
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.78
Darkish Blue
#014182
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A429D #9D852A
analogous
#2A7C9D #2A429D #4C2A9D
triadic
#2A429D #9D2A42 #429D2A
tetradic
#2A429D #9D2A7C #9D852A #2A9D4C
square
#2A429D #9D2A7C #9D852A #2A9D4C
split-complementary
#2A429D #9D4C2A #7C9D2A
monochromatic
#10193C #1D2E6D #2A429D #3A58CA #6A81D7
Accessibility & contrast
On white
8.88
#2A429D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2A429D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A429D
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A429D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A429D | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a429d; /* rgb */ color: rgb(42, 66, 157); /* oklch */ color: oklch(41.7% 0.151 268.0);
Tailwind
colors: {
custom: {
50: '#7476bb',
500: '#2a429d',
950: '#000000',
},
}SCSS
$custom: #2a429d; $custom-light: #7476bb; $custom-dark: #000000;
JSON
{
"hex": "#2a429d",
"rgb": {
"r": 42,
"g": 66,
"b": 157
},
"hsl": {
"h": 227.478,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.41745,
"c": 0.15076,
"h": 268
},
"luminance": 0.06823
}Semantic roles & 50–950 ramp
primary
#2A429D
secondary
#BEAB65
accent
#C147E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81