#2A429A#2A429A
#2A429A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.147 H 267.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A429A |
|---|---|
| RGB | rgb(42, 66, 154) |
| HSL | hsl(227, 57%, 38%) |
| HSV | hsv(227, 73%, 60%) |
| CMYK | cmyk(72.7%, 57.1%, 0%, 39.6%) |
| CIE-LAB | lab(31.16, 22.34, -50.82) |
| CIE-LCH | lch(31.16, 55.52, 293.73°) |
| OKLab | oklab(41.5% -0.0054 -0.1464) |
| OKLCH | oklch(41.5% 0.147 267.9) |
| XYZ | xyz(8.7338, 6.7209, 31.4026) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.81
Cobalt (survey)
#1E488F
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 4.28
Blueberry
#464196
ΔE00 4.85
Darkish Blue
#014182
ΔE00 5.92
Blue Blue
#2242C7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A429A #9A822A
analogous
#2A7A9A #2A429A #4A2A9A
triadic
#2A429A #9A2A42 #429A2A
tetradic
#2A429A #9A2A7A #9A822A #2A9A4A
square
#2A429A #9A2A7A #9A822A #2A9A4A
split-complementary
#2A429A #9A4A2A #7A9A2A
monochromatic
#10193A #1D2D6A #2A429A #3857C9 #6880D6
Accessibility & contrast
On white
8.96
#2A429A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A429A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A429A
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A429A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A429A | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a429a; /* rgb */ color: rgb(42, 66, 154); /* oklch */ color: oklch(41.5% 0.147 267.9);
Tailwind
colors: {
custom: {
50: '#7376b8',
500: '#2a429a',
950: '#000000',
},
}SCSS
$custom: #2a429a; $custom-light: #7376b8; $custom-dark: #000000;
JSON
{
"hex": "#2a429a",
"rgb": {
"r": 42,
"g": 66,
"b": 154
},
"hsl": {
"h": 227.143,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.41495,
"c": 0.14654,
"h": 267.9
},
"luminance": 0.06722
}Semantic roles & 50–950 ramp
primary
#2A429A
secondary
#BCA963
accent
#C047E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80