#2A579B#2A579B
#2A579B is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.121 H 258.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A579B |
|---|---|
| RGB | rgb(42, 87, 155) |
| HSL | hsl(216, 57%, 39%) |
| HSV | hsv(216, 73%, 61%) |
| CMYK | cmyk(72.9%, 43.9%, 0%, 39.2%) |
| CIE-LAB | lab(37.25, 8.67, -41.61) |
| CIE-LCH | lch(37.25, 42.51, 281.77°) |
| OKLab | oklab(46.16% -0.0241 -0.119) |
| OKLCH | oklch(46.16% 0.121 258.6) |
| XYZ | xyz(10.2773, 9.6741, 32.3296) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.17
Denim Blue
#3B5B92
ΔE00 2.55
Light Navy Blue
#2E5A88
ΔE00 3.03
Sapphire
#0F52BA
ΔE00 4.19
Light Navy
#155084
ΔE00 4.46
Dusky Blue
#475F94
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A579B #9B6E2A
analogous
#2A8F9B #2A579B #352A9B
triadic
#2A579B #9B2A57 #579B2A
tetradic
#2A579B #9B2A8F #9B6E2A #2A9B35
square
#2A579B #9B2A8F #9B6E2A #2A9B35
split-complementary
#2A579B #9B352A #8F9B2A
monochromatic
#10213B #1D3C6B #2A579B #3972C9 #6995D6
Accessibility & contrast
On white
7.16
#2A579B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2A579B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A579B
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A579B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A579B | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a579b; /* rgb */ color: rgb(42, 87, 155); /* oklch */ color: oklch(46.2% 0.121 258.6);
Tailwind
colors: {
custom: {
50: '#7285b9',
500: '#2a579b',
950: '#000000',
},
}SCSS
$custom: #2a579b; $custom-light: #7285b9; $custom-dark: #000000;
JSON
{
"hex": "#2a579b",
"rgb": {
"r": 42,
"g": 87,
"b": 155
},
"hsl": {
"h": 216.106,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.46161,
"c": 0.1214,
"h": 258.6
},
"luminance": 0.09675
}Semantic roles & 50–950 ramp
primary
#2A579B
secondary
#BD9964
accent
#A447E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80