#2A529A#2A529A
#2A529A is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.126 H 261.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2A529A |
|---|---|
| RGB | rgb(42, 82, 154) |
| HSL | hsl(219, 57%, 38%) |
| HSV | hsv(219, 73%, 60%) |
| CMYK | cmyk(72.7%, 46.8%, 0%, 39.6%) |
| CIE-LAB | lab(35.71, 11.59, -43.48) |
| CIE-LCH | lch(35.71, 45.00, 284.92°) |
| OKLab | oklab(44.95% -0.0195 -0.1246) |
| OKLCH | oklch(44.95% 0.126 261.1) |
| XYZ | xyz(9.8028, 8.8589, 31.7589) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.29
Cobalt (survey)
#1E488F
ΔE00 3.40
Denim Blue
#3B5B92
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.99
Light Navy Blue
#2E5A88
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A529A #9A722A
analogous
#2A8A9A #2A529A #3A2A9A
triadic
#2A529A #9A2A52 #529A2A
tetradic
#2A529A #9A2A8A #9A722A #2A9A3A
square
#2A529A #9A2A8A #9A722A #2A9A3A
split-complementary
#2A529A #9A3A2A #8A9A2A
monochromatic
#101F3A #1D386A #2A529A #386CC9 #6890D6
Accessibility & contrast
On white
7.58
#2A529A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2A529A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A529A
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A529A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A529A | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D599D
Deuteranopia (green-blind)
#154F99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a529a; /* rgb */ color: rgb(42, 82, 154); /* oklch */ color: oklch(45.0% 0.126 261.1);
Tailwind
colors: {
custom: {
50: '#7282b8',
500: '#2a529a',
950: '#000000',
},
}SCSS
$custom: #2a529a; $custom-light: #7282b8; $custom-dark: #000000;
JSON
{
"hex": "#2a529a",
"rgb": {
"r": 42,
"g": 82,
"b": 154
},
"hsl": {
"h": 218.571,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.44953,
"c": 0.12609,
"h": 261.1
},
"luminance": 0.0886
}Semantic roles & 50–950 ramp
primary
#2A529A
secondary
#BC9D63
accent
#AA47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80