#2A428E#2A428E
#2A428E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.129 H 267.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A428E |
|---|---|
| RGB | rgb(42, 66, 142) |
| HSL | hsl(226, 54%, 36%) |
| HSV | hsv(226, 70%, 56%) |
| CMYK | cmyk(70.4%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(30.26, 17.75, -44.96) |
| CIE-LCH | lch(30.26, 48.34, 291.54°) |
| OKLab | oklab(40.53% -0.0063 -0.1292) |
| OKLCH | oklch(40.53% 0.129 267.2) |
| XYZ | xyz(7.7839, 6.3409, 26.3996) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.25
Cobalt
#0047AB
ΔE00 4.76
Darkish Blue
#014182
ΔE00 4.78
Blueberry
#464196
ΔE00 5.40
Twilight Blue
#0A437A
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A428E #8E762A
analogous
#2A748E #2A428E #442A8E
triadic
#2A428E #8E2A42 #428E2A
tetradic
#2A428E #8E2A74 #8E762A #2A8E44
square
#2A428E #8E2A74 #8E762A #2A8E44
split-complementary
#2A428E #8E442A #748E2A
monochromatic
#0E1630 #1C2C5F #2A428E #3858BD #627CD1
Accessibility & contrast
On white
9.26
#2A428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A428E
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A428E | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a428e; /* rgb */ color: rgb(42, 66, 142); /* oklch */ color: oklch(40.5% 0.129 267.2);
Tailwind
colors: {
custom: {
50: '#7075b0',
500: '#2a428e',
950: '#000000',
},
}SCSS
$custom: #2a428e; $custom-light: #7075b0; $custom-dark: #000000;
JSON
{
"hex": "#2a428e",
"rgb": {
"r": 42,
"g": 66,
"b": 142
},
"hsl": {
"h": 225.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.40525,
"c": 0.12934,
"h": 267.2
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#2A428E
secondary
#B6A15D
accent
#BA4ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F