#2A518F#2A518F
#2A518F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.112 H 259.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A518F |
|---|---|
| RGB | rgb(42, 81, 143) |
| HSL | hsl(217, 55%, 36%) |
| HSV | hsv(217, 71%, 56%) |
| CMYK | cmyk(70.6%, 43.4%, 0%, 43.9%) |
| CIE-LAB | lab(34.72, 8.03, -38.40) |
| CIE-LCH | lch(34.72, 39.23, 281.81°) |
| OKLab | oklab(43.96% -0.0207 -0.1096) |
| OKLCH | oklch(43.96% 0.112 259.3) |
| XYZ | xyz(8.8534, 8.3594, 27.1282) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.36
Cobalt (survey)
#1E488F
ΔE00 2.94
Denim Blue
#3B5B92
ΔE00 3.55
Light Navy
#155084
ΔE00 3.60
Light Navy Blue
#2E5A88
ΔE00 3.81
Cobalt
#0047AB
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A518F #8F682A
analogous
#2A848F #2A518F #362A8F
triadic
#2A518F #8F2A51 #518F2A
tetradic
#2A518F #8F2A84 #8F682A #2A8F36
square
#2A518F #8F2A84 #8F682A #2A8F36
split-complementary
#2A518F #8F362A #848F2A
monochromatic
#0E1B30 #1C3660 #2A518F #386CBE #628DD1
Accessibility & contrast
On white
7.86
#2A518F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2A518F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A518F
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A518F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A518F | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a518f; /* rgb */ color: rgb(42, 81, 143); /* oklch */ color: oklch(44.0% 0.112 259.3);
Tailwind
colors: {
custom: {
50: '#7081b0',
500: '#2a518f',
950: '#000000',
},
}SCSS
$custom: #2a518f; $custom-light: #7081b0; $custom-dark: #000000;
JSON
{
"hex": "#2a518f",
"rgb": {
"r": 42,
"g": 81,
"b": 143
},
"hsl": {
"h": 216.832,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.43964,
"c": 0.11158,
"h": 259.3
},
"luminance": 0.0836
}Semantic roles & 50–950 ramp
primary
#2A518F
secondary
#B7955E
accent
#A54ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F