#2A5AA0#2A5AA0
#2A5AA0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.125 H 258.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA0 |
|---|---|
| RGB | rgb(42, 90, 160) |
| HSL | hsl(216, 58%, 40%) |
| HSV | hsv(216, 74%, 63%) |
| CMYK | cmyk(73.8%, 43.7%, 0%, 37.3%) |
| CIE-LAB | lab(38.45, 8.63, -42.70) |
| CIE-LCH | lch(38.45, 43.56, 281.43°) |
| OKLab | oklab(47.19% -0.0259 -0.1221) |
| OKLCH | oklch(47.19% 0.125 258) |
| XYZ | xyz(10.9539, 10.3414, 34.6697) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.70
Dusk Blue
#26538D
ΔE00 3.14
Light Navy Blue
#2E5A88
ΔE00 3.15
Denim
#1560BD
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 4.22
Denim (survey)
#3B638C
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA0 #A0702A
analogous
#2A95A0 #2A5AA0 #352AA0
triadic
#2A5AA0 #A02A5A #5AA02A
tetradic
#2A5AA0 #A02A95 #A0702A #2AA035
square
#2A5AA0 #A02A95 #A0702A #2AA035
split-complementary
#2A5AA0 #A0352A #95A02A
monochromatic
#11233F #1D3F70 #2A5AA0 #3C76CC #6C98D8
Accessibility & contrast
On white
6.84
#2A5AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2A5AA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA0
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA0 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3860A3
Deuteranopia (green-blind)
#22559F
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa0; /* rgb */ color: rgb(42, 90, 160); /* oklch */ color: oklch(47.2% 0.125 258.0);
Tailwind
colors: {
custom: {
50: '#7388bc',
500: '#2a5aa0',
950: '#000000',
},
}SCSS
$custom: #2a5aa0; $custom-light: #7388bc; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa0",
"rgb": {
"r": 42,
"g": 90,
"b": 160
},
"hsl": {
"h": 215.593,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.47187,
"c": 0.12482,
"h": 258
},
"luminance": 0.10343
}Semantic roles & 50–950 ramp
primary
#2A5AA0
secondary
#BF9B67
accent
#A246E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81