#2A5AA5#2A5AA5
#2A5AA5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.132 H 259.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA5 |
|---|---|
| RGB | rgb(42, 90, 165) |
| HSL | hsl(217, 59%, 41%) |
| HSV | hsv(217, 75%, 65%) |
| CMYK | cmyk(74.5%, 45.5%, 0%, 35.3%) |
| CIE-LAB | lab(38.76, 10.55, -45.18) |
| CIE-LCH | lch(38.76, 46.39, 283.14°) |
| OKLab | oklab(47.53% -0.0249 -0.1294) |
| OKLCH | oklch(47.53% 0.132 259.1) |
| XYZ | xyz(11.4001, 10.5199, 37.0197) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.98
Denim
#1560BD
ΔE00 3.48
Dusk Blue
#26538D
ΔE00 3.63
Light Navy Blue
#2E5A88
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 3.76
Denim (survey)
#3B638C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA5 #A5752A
analogous
#2A97A5 #2A5AA5 #372AA5
triadic
#2A5AA5 #A52A5A #5AA52A
tetradic
#2A5AA5 #A52A97 #A5752A #2AA537
square
#2A5AA5 #A52A97 #A5752A #2AA537
split-complementary
#2A5AA5 #A5372A #97A52A
monochromatic
#112543 #1E3F74 #2A5AA5 #3E76CE #6F99DA
Accessibility & contrast
On white
6.77
#2A5AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A5AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA5
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA5 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa5; /* rgb */ color: rgb(42, 90, 165); /* oklch */ color: oklch(47.5% 0.132 259.1);
Tailwind
colors: {
custom: {
50: '#7488c0',
500: '#2a5aa5',
950: '#000000',
},
}SCSS
$custom: #2a5aa5; $custom-light: #7488c0; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa5",
"rgb": {
"r": 42,
"g": 90,
"b": 165
},
"hsl": {
"h": 216.585,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.47528,
"c": 0.13178,
"h": 259.1
},
"luminance": 0.10521
}Semantic roles & 50–950 ramp
primary
#2A5AA5
secondary
#C19F69
accent
#A545E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81