#2A428C#2A428C
#2A428C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.126 H 267.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A428C |
|---|---|
| RGB | rgb(42, 66, 140) |
| HSL | hsl(225, 54%, 36%) |
| HSV | hsv(225, 70%, 55%) |
| CMYK | cmyk(70%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(30.11, 16.98, -43.96) |
| CIE-LCH | lch(30.11, 47.13, 291.12°) |
| OKLab | oklab(40.37% -0.0065 -0.1263) |
| OKLCH | oklch(40.37% 0.126 267.1) |
| XYZ | xyz(7.6350, 6.2814, 25.6159) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.20
Darkish Blue
#014182
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.96
Twilight Blue
#0A437A
ΔE00 5.53
Blueberry
#464196
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A428C #8C742A
analogous
#2A738C #2A428C #432A8C
triadic
#2A428C #8C2A42 #428C2A
tetradic
#2A428C #8C2A73 #8C742A #2A8C43
square
#2A428C #8C2A73 #8C742A #2A8C43
split-complementary
#2A428C #8C432A #738C2A
monochromatic
#0E162E #1C2C5D #2A428C #3858BB #617CD0
Accessibility & contrast
On white
9.31
#2A428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A428C
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A428C | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a428c; /* rgb */ color: rgb(42, 66, 140); /* oklch */ color: oklch(40.4% 0.126 267.1);
Tailwind
colors: {
custom: {
50: '#7075ae',
500: '#2a428c',
950: '#000000',
},
}SCSS
$custom: #2a428c; $custom-light: #7075ae; $custom-dark: #000000;
JSON
{
"hex": "#2a428c",
"rgb": {
"r": 42,
"g": 66,
"b": 140
},
"hsl": {
"h": 225.306,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.40369,
"c": 0.12643,
"h": 267.1
},
"luminance": 0.06282
}Semantic roles & 50–950 ramp
primary
#2A428C
secondary
#B5A05C
accent
#B94BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F