#2A559B#2A559B
#2A559B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.124 H 259.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A559B |
|---|---|
| RGB | rgb(42, 85, 155) |
| HSL | hsl(217, 57%, 39%) |
| HSV | hsv(217, 73%, 61%) |
| CMYK | cmyk(72.9%, 45.2%, 0%, 39.2%) |
| CIE-LAB | lab(36.66, 9.99, -42.56) |
| CIE-LCH | lch(36.66, 43.72, 283.21°) |
| OKLab | oklab(45.7% -0.0222 -0.1218) |
| OKLCH | oklch(45.7% 0.124 259.7) |
| XYZ | xyz(10.1176, 9.3547, 32.2764) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.07
Denim Blue
#3B5B92
ΔE00 2.81
Light Navy Blue
#2E5A88
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 3.97
Cobalt (survey)
#1E488F
ΔE00 4.34
Light Navy
#155084
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A559B #9B702A
analogous
#2A8D9B #2A559B #372A9B
triadic
#2A559B #9B2A55 #559B2A
tetradic
#2A559B #9B2A8D #9B702A #2A9B37
square
#2A559B #9B2A8D #9B702A #2A9B37
split-complementary
#2A559B #9B372A #8D9B2A
monochromatic
#10203B #1D3B6B #2A559B #3970C9 #6993D6
Accessibility & contrast
On white
7.31
#2A559B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2A559B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A559B
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A559B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A559B | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#1D519A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a559b; /* rgb */ color: rgb(42, 85, 155); /* oklch */ color: oklch(45.7% 0.124 259.7);
Tailwind
colors: {
custom: {
50: '#7284b9',
500: '#2a559b',
950: '#000000',
},
}SCSS
$custom: #2a559b; $custom-light: #7284b9; $custom-dark: #000000;
JSON
{
"hex": "#2a559b",
"rgb": {
"r": 42,
"g": 85,
"b": 155
},
"hsl": {
"h": 217.168,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.45703,
"c": 0.12382,
"h": 259.7
},
"luminance": 0.09356
}Semantic roles & 50–950 ramp
primary
#2A559B
secondary
#BD9B64
accent
#A647E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80