#2A529C#2A529C
#2A529C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.129 H 261.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A529C |
|---|---|
| RGB | rgb(42, 82, 156) |
| HSL | hsl(219, 58%, 39%) |
| HSV | hsv(219, 73%, 61%) |
| CMYK | cmyk(73.1%, 47.4%, 0%, 38.8%) |
| CIE-LAB | lab(35.84, 12.36, -44.48) |
| CIE-LCH | lch(35.84, 46.16, 285.53°) |
| OKLab | oklab(45.1% -0.0192 -0.1275) |
| OKLCH | oklch(45.1% 0.129 261.4) |
| XYZ | xyz(9.9707, 8.9261, 32.6435) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.53
Cobalt (survey)
#1E488F
ΔE00 3.50
Denim Blue
#3B5B92
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.24
Light Navy Blue
#2E5A88
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A529C #9C742A
analogous
#2A8B9C #2A529C #3B2A9C
triadic
#2A529C #9C2A52 #529C2A
tetradic
#2A529C #9C2A8B #9C742A #2A9C3B
square
#2A529C #9C2A8B #9C742A #2A9C3B
split-complementary
#2A529C #9C3B2A #8B9C2A
monochromatic
#101F3C #1D396C #2A529C #396CCA #6A90D7
Accessibility & contrast
On white
7.54
#2A529C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2A529C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A529C
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A529C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A529C | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a529c; /* rgb */ color: rgb(42, 82, 156); /* oklch */ color: oklch(45.1% 0.129 261.4);
Tailwind
colors: {
custom: {
50: '#7382ba',
500: '#2a529c',
950: '#000000',
},
}SCSS
$custom: #2a529c; $custom-light: #7382ba; $custom-dark: #000000;
JSON
{
"hex": "#2a529c",
"rgb": {
"r": 42,
"g": 82,
"b": 156
},
"hsl": {
"h": 218.947,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.45095,
"c": 0.12893,
"h": 261.4
},
"luminance": 0.08927
}Semantic roles & 50–950 ramp
primary
#2A529C
secondary
#BD9E65
accent
#AB47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80