#2A518C#2A518C
#2A518C is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.107 H 258.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2A518C |
|---|---|
| RGB | rgb(42, 81, 140) |
| HSL | hsl(216, 54%, 36%) |
| HSV | hsv(216, 70%, 55%) |
| CMYK | cmyk(70%, 42.1%, 0%, 45.1%) |
| CIE-LAB | lab(34.54, 6.89, -36.86) |
| CIE-LCH | lch(34.54, 37.50, 280.58°) |
| OKLab | oklab(43.76% -0.0213 -0.1051) |
| OKLCH | oklch(43.76% 0.107 258.5) |
| XYZ | xyz(8.6292, 8.2697, 25.9473) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.17
Cobalt (survey)
#1E488F
ΔE00 3.03
Light Navy
#155084
ΔE00 3.31
Denim Blue
#3B5B92
ΔE00 3.62
Light Navy Blue
#2E5A88
ΔE00 3.64
Twilight Blue
#0A437A
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A518C #8C652A
analogous
#2A828C #2A518C #342A8C
triadic
#2A518C #8C2A51 #518C2A
tetradic
#2A518C #8C2A82 #8C652A #2A8C34
square
#2A518C #8C2A82 #8C652A #2A8C34
split-complementary
#2A518C #8C342A #828C2A
monochromatic
#0E1B2E #1C365D #2A518C #386CBB #618DD0
Accessibility & contrast
On white
7.91
#2A518C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A518C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A518C
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A518C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A518C | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a518c; /* rgb */ color: rgb(42, 81, 140); /* oklch */ color: oklch(43.8% 0.107 258.5);
Tailwind
colors: {
custom: {
50: '#6f81ae',
500: '#2a518c',
950: '#000000',
},
}SCSS
$custom: #2a518c; $custom-light: #6f81ae; $custom-dark: #000000;
JSON
{
"hex": "#2a518c",
"rgb": {
"r": 42,
"g": 81,
"b": 140
},
"hsl": {
"h": 216.122,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.43764,
"c": 0.10728,
"h": 258.5
},
"luminance": 0.08271
}Semantic roles & 50–950 ramp
primary
#2A518C
secondary
#B5925C
accent
#A34BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F