#2A428F#2A428F
#2A428F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.131 H 267.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A428F |
|---|---|
| RGB | rgb(42, 66, 143) |
| HSL | hsl(226, 55%, 36%) |
| HSV | hsv(226, 71%, 56%) |
| CMYK | cmyk(70.6%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(30.33, 18.13, -45.46) |
| CIE-LCH | lch(30.33, 48.94, 291.75°) |
| OKLab | oklab(40.6% -0.0062 -0.1306) |
| OKLCH | oklch(40.6% 0.131 267.3) |
| XYZ | xyz(7.8593, 6.3711, 26.7968) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.29
Cobalt
#0047AB
ΔE00 4.66
Darkish Blue
#014182
ΔE00 4.86
Blueberry
#464196
ΔE00 5.33
Sapphire (survey)
#2138AB
ΔE00 5.69
Twilight Blue
#0A437A
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A428F #8F772A
analogous
#2A758F #2A428F #452A8F
triadic
#2A428F #8F2A42 #428F2A
tetradic
#2A428F #8F2A75 #8F772A #2A8F45
square
#2A428F #8F2A75 #8F772A #2A8F45
split-complementary
#2A428F #8F452A #758F2A
monochromatic
#0E1630 #1C2C60 #2A428F #3858BE #627DD1
Accessibility & contrast
On white
9.23
#2A428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A428F
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A428F | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a428f; /* rgb */ color: rgb(42, 66, 143); /* oklch */ color: oklch(40.6% 0.131 267.3);
Tailwind
colors: {
custom: {
50: '#7175b0',
500: '#2a428f',
950: '#000000',
},
}SCSS
$custom: #2a428f; $custom-light: #7175b0; $custom-dark: #000000;
JSON
{
"hex": "#2a428f",
"rgb": {
"r": 42,
"g": 66,
"b": 143
},
"hsl": {
"h": 225.743,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.40604,
"c": 0.1308,
"h": 267.3
},
"luminance": 0.06372
}Semantic roles & 50–950 ramp
primary
#2A428F
secondary
#B7A25E
accent
#BB4ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80