#2A5AA6#2A5AA6
#2A5AA6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA6 |
|---|---|
| RGB | rgb(42, 90, 166) |
| HSL | hsl(217, 60%, 41%) |
| HSV | hsv(217, 75%, 65%) |
| CMYK | cmyk(74.7%, 45.8%, 0%, 34.9%) |
| CIE-LAB | lab(38.82, 10.93, -45.67) |
| CIE-LCH | lch(38.82, 46.96, 283.46°) |
| OKLab | oklab(47.6% -0.0247 -0.1309) |
| OKLCH | oklch(47.6% 0.133 259.3) |
| XYZ | xyz(11.4914, 10.5565, 37.5010) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.05
Denim
#1560BD
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.68
Dusk Blue
#26538D
ΔE00 3.73
Light Navy Blue
#2E5A88
ΔE00 3.84
Denim (survey)
#3B638C
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA6 #A6762A
analogous
#2A98A6 #2A5AA6 #382AA6
triadic
#2A5AA6 #A62A5A #5AA62A
tetradic
#2A5AA6 #A62A98 #A6762A #2AA638
square
#2A5AA6 #A62A98 #A6762A #2AA638
split-complementary
#2A5AA6 #A6382A #98A62A
monochromatic
#112544 #1E4075 #2A5AA6 #3F76CE #7099DB
Accessibility & contrast
On white
6.75
#2A5AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2A5AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA6
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA6 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#1956A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa6; /* rgb */ color: rgb(42, 90, 166); /* oklch */ color: oklch(47.6% 0.133 259.3);
Tailwind
colors: {
custom: {
50: '#7588c1',
500: '#2a5aa6',
950: '#000000',
},
}SCSS
$custom: #2a5aa6; $custom-light: #7588c1; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa6",
"rgb": {
"r": 42,
"g": 90,
"b": 166
},
"hsl": {
"h": 216.774,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.47597,
"c": 0.13317,
"h": 259.3
},
"luminance": 0.10558
}Semantic roles & 50–950 ramp
primary
#2A5AA6
secondary
#C2A06A
accent
#A645E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81