#2A539F#2A539F
#2A539F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.132 H 261.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2A539F |
|---|---|
| RGB | rgb(42, 83, 159) |
| HSL | hsl(219, 58%, 39%) |
| HSV | hsv(219, 74%, 62%) |
| CMYK | cmyk(73.6%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(36.33, 12.85, -45.49) |
| CIE-LCH | lch(36.33, 47.27, 285.77°) |
| OKLab | oklab(45.53% -0.0196 -0.1305) |
| OKLCH | oklch(45.53% 0.132 261.5) |
| XYZ | xyz(10.3039, 9.1808, 34.0232) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.76
Sapphire
#0F52BA
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 3.42
Cobalt (survey)
#1E488F
ΔE00 3.94
Cobalt
#0047AB
ΔE00 4.33
Light Navy Blue
#2E5A88
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A539F #9F762A
analogous
#2A8E9F #2A539F #3B2A9F
triadic
#2A539F #9F2A53 #539F2A
tetradic
#2A539F #9F2A8E #9F762A #2A9F3B
square
#2A539F #9F2A8E #9F762A #2A9F3B
split-complementary
#2A539F #9F3B2A #8E9F2A
monochromatic
#10203E #1D3A6F #2A539F #3B6ECB #6B91D8
Accessibility & contrast
On white
7.40
#2A539F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2A539F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A539F
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A539F | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a539f; /* rgb */ color: rgb(42, 83, 159); /* oklch */ color: oklch(45.5% 0.132 261.5);
Tailwind
colors: {
custom: {
50: '#7382bc',
500: '#2a539f',
950: '#000000',
},
}SCSS
$custom: #2a539f; $custom-light: #7382bc; $custom-dark: #000000;
JSON
{
"hex": "#2a539f",
"rgb": {
"r": 42,
"g": 83,
"b": 159
},
"hsl": {
"h": 218.974,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.45533,
"c": 0.13194,
"h": 261.5
},
"luminance": 0.09182
}Semantic roles & 50–950 ramp
primary
#2A539F
secondary
#BFA066
accent
#AB46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81