#2A429C#2A429C
#2A429C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.149 H 268.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2A429C |
|---|---|
| RGB | rgb(42, 66, 156) |
| HSL | hsl(227, 58%, 39%) |
| HSV | hsv(227, 73%, 61%) |
| CMYK | cmyk(73.1%, 57.7%, 0%, 38.8%) |
| CIE-LAB | lab(31.32, 23.10, -51.78) |
| CIE-LCH | lch(31.32, 56.70, 294.04°) |
| OKLab | oklab(41.66% -0.0053 -0.1493) |
| OKLCH | oklch(41.66% 0.149 268) |
| XYZ | xyz(8.9017, 6.7880, 32.2871) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.72
Sapphire (survey)
#2138AB
ΔE00 4.05
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.93
Darkish Blue
#014182
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A429C #9C842A
analogous
#2A7B9C #2A429C #4B2A9C
triadic
#2A429C #9C2A42 #429C2A
tetradic
#2A429C #9C2A7B #9C842A #2A9C4B
square
#2A429C #9C2A7B #9C842A #2A9C4B
split-complementary
#2A429C #9C4B2A #7B9C2A
monochromatic
#10193C #1D2E6C #2A429C #3958CA #6A81D7
Accessibility & contrast
On white
8.91
#2A429C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2A429C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A429C
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A429C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A429C | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a429c; /* rgb */ color: rgb(42, 66, 156); /* oklch */ color: oklch(41.7% 0.149 268.0);
Tailwind
colors: {
custom: {
50: '#7476ba',
500: '#2a429c',
950: '#000000',
},
}SCSS
$custom: #2a429c; $custom-light: #7476ba; $custom-dark: #000000;
JSON
{
"hex": "#2a429c",
"rgb": {
"r": 42,
"g": 66,
"b": 156
},
"hsl": {
"h": 227.368,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.41661,
"c": 0.14936,
"h": 268
},
"luminance": 0.06789
}Semantic roles & 50–950 ramp
primary
#2A429C
secondary
#BDAB65
accent
#C047E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81