#2A429E#2A429E
#2A429E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.152 H 268.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A429E |
|---|---|
| RGB | rgb(42, 66, 158) |
| HSL | hsl(228, 58%, 39%) |
| HSV | hsv(228, 73%, 62%) |
| CMYK | cmyk(73.4%, 58.2%, 0%, 38%) |
| CIE-LAB | lab(31.48, 23.86, -52.74) |
| CIE-LCH | lch(31.48, 57.88, 294.35°) |
| OKLab | oklab(41.83% -0.0053 -0.1521) |
| OKLCH | oklch(41.83% 0.152 268) |
| XYZ | xyz(9.0725, 6.8563, 33.1864) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.65
Sapphire (survey)
#2138AB
ΔE00 3.84
Cobalt (survey)
#1E488F
ΔE00 4.44
Blueberry
#464196
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.63
Darkish Blue
#014182
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A429E #9E862A
analogous
#2A7C9E #2A429E #4C2A9E
triadic
#2A429E #9E2A42 #429E2A
tetradic
#2A429E #9E2A7C #9E862A #2A9E4C
square
#2A429E #9E2A7C #9E862A #2A9E4C
split-complementary
#2A429E #9E4C2A #7C9E2A
monochromatic
#101A3D #1D2E6E #2A429E #3A58CB #6B81D8
Accessibility & contrast
On white
8.86
#2A429E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2A429E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A429E
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A429E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A429E | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a429e; /* rgb */ color: rgb(42, 66, 158); /* oklch */ color: oklch(41.8% 0.152 268.0);
Tailwind
colors: {
custom: {
50: '#7476bb',
500: '#2a429e',
950: '#000000',
},
}SCSS
$custom: #2a429e; $custom-light: #7476bb; $custom-dark: #000000;
JSON
{
"hex": "#2a429e",
"rgb": {
"r": 42,
"g": 66,
"b": 158
},
"hsl": {
"h": 227.586,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.41829,
"c": 0.15216,
"h": 268
},
"luminance": 0.06857
}Semantic roles & 50–950 ramp
primary
#2A429E
secondary
#BEAC66
accent
#C147E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81