#2A528F#2A528F
#2A528F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.110 H 258.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A528F |
|---|---|
| RGB | rgb(42, 82, 143) |
| HSL | hsl(216, 55%, 36%) |
| HSV | hsv(216, 71%, 56%) |
| CMYK | cmyk(70.6%, 42.7%, 0%, 43.9%) |
| CIE-LAB | lab(35.02, 7.37, -37.92) |
| CIE-LCH | lch(35.02, 38.63, 281.00°) |
| OKLab | oklab(44.2% -0.0217 -0.1082) |
| OKLCH | oklch(44.2% 0.11 258.7) |
| XYZ | xyz(8.9283, 8.5091, 27.1532) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.04
Cobalt (survey)
#1E488F
ΔE00 3.28
Denim Blue
#3B5B92
ΔE00 3.32
Light Navy
#155084
ΔE00 3.44
Light Navy Blue
#2E5A88
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A528F #8F672A
analogous
#2A858F #2A528F #352A8F
triadic
#2A528F #8F2A52 #528F2A
tetradic
#2A528F #8F2A85 #8F672A #2A8F35
square
#2A528F #8F2A85 #8F672A #2A8F35
split-complementary
#2A528F #8F352A #858F2A
monochromatic
#0E1C30 #1C3760 #2A528F #386DBE #628ED1
Accessibility & contrast
On white
7.77
#2A528F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2A528F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A528F
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A528F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A528F | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a528f; /* rgb */ color: rgb(42, 82, 143); /* oklch */ color: oklch(44.2% 0.110 258.7);
Tailwind
colors: {
custom: {
50: '#7082b0',
500: '#2a528f',
950: '#000000',
},
}SCSS
$custom: #2a528f; $custom-light: #7082b0; $custom-dark: #000000;
JSON
{
"hex": "#2a528f",
"rgb": {
"r": 42,
"g": 82,
"b": 143
},
"hsl": {
"h": 216.238,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.44197,
"c": 0.11037,
"h": 258.7
},
"luminance": 0.0851
}Semantic roles & 50–950 ramp
primary
#2A528F
secondary
#B7945E
accent
#A34ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F