#2A528C#2A528C
#2A528C is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.106 H 257.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2A528C |
|---|---|
| RGB | rgb(42, 82, 140) |
| HSL | hsl(216, 54%, 36%) |
| HSV | hsv(216, 70%, 55%) |
| CMYK | cmyk(70%, 41.4%, 0%, 45.1%) |
| CIE-LAB | lab(34.84, 6.23, -36.38) |
| CIE-LCH | lch(34.84, 36.91, 279.71°) |
| OKLab | oklab(44% -0.0224 -0.1037) |
| OKLCH | oklch(44% 0.106 257.8) |
| XYZ | xyz(8.7041, 8.4194, 25.9722) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 0.83
Light Navy
#155084
ΔE00 3.14
Light Navy Blue
#2E5A88
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 3.38
Denim Blue
#3B5B92
ΔE00 3.41
Twilight Blue
#0A437A
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A528C #8C642A
analogous
#2A838C #2A528C #332A8C
triadic
#2A528C #8C2A52 #528C2A
tetradic
#2A528C #8C2A83 #8C642A #2A8C33
square
#2A528C #8C2A83 #8C642A #2A8C33
split-complementary
#2A528C #8C332A #838C2A
monochromatic
#0E1B2E #1C365D #2A528C #386EBB #618ED0
Accessibility & contrast
On white
7.82
#2A528C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2A528C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A528C
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A528C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A528C | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a528c; /* rgb */ color: rgb(42, 82, 140); /* oklch */ color: oklch(44.0% 0.106 257.8);
Tailwind
colors: {
custom: {
50: '#6f82ae',
500: '#2a528c',
950: '#000000',
},
}SCSS
$custom: #2a528c; $custom-light: #6f82ae; $custom-dark: #000000;
JSON
{
"hex": "#2a528c",
"rgb": {
"r": 42,
"g": 82,
"b": 140
},
"hsl": {
"h": 215.51,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.43999,
"c": 0.10609,
"h": 257.8
},
"luminance": 0.0842
}Semantic roles & 50–950 ramp
primary
#2A528C
secondary
#B5915C
accent
#A14BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F