#2A5AA7#2A5AA7
#2A5AA7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.135 H 259.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA7 |
|---|---|
| RGB | rgb(42, 90, 167) |
| HSL | hsl(217, 60%, 41%) |
| HSV | hsv(217, 75%, 65%) |
| CMYK | cmyk(74.9%, 46.1%, 0%, 34.5%) |
| CIE-LAB | lab(38.89, 11.32, -46.16) |
| CIE-LCH | lch(38.89, 47.53, 283.77°) |
| OKLab | oklab(47.67% -0.0245 -0.1323) |
| OKLCH | oklch(47.67% 0.135 259.5) |
| XYZ | xyz(11.5835, 10.5933, 37.9860) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.13
Denim
#1560BD
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 3.59
Dusk Blue
#26538D
ΔE00 3.84
Light Navy Blue
#2E5A88
ΔE00 3.96
Denim (survey)
#3B638C
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA7 #A7772A
analogous
#2A98A7 #2A5AA7 #382AA7
triadic
#2A5AA7 #A72A5A #5AA72A
tetradic
#2A5AA7 #A72A98 #A7772A #2AA738
square
#2A5AA7 #A72A98 #A7772A #2AA738
split-complementary
#2A5AA7 #A7382A #98A72A
monochromatic
#112545 #1E4076 #2A5AA7 #3F76CF #7099DB
Accessibility & contrast
On white
6.73
#2A5AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2A5AA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA7
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA7 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#1756A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a5aa7; /* rgb */ color: rgb(42, 90, 167); /* oklch */ color: oklch(47.7% 0.135 259.5);
Tailwind
colors: {
custom: {
50: '#7588c2',
500: '#2a5aa7',
950: '#000000',
},
}SCSS
$custom: #2a5aa7; $custom-light: #7588c2; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa7",
"rgb": {
"r": 42,
"g": 90,
"b": 167
},
"hsl": {
"h": 216.96,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.47667,
"c": 0.13456,
"h": 259.5
},
"luminance": 0.10595
}Semantic roles & 50–950 ramp
primary
#2A5AA7
secondary
#C2A16B
accent
#A645E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81