#2A5AA9#2A5AA9
#2A5AA9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.137 H 259.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA9 |
|---|---|
| RGB | rgb(42, 90, 169) |
| HSL | hsl(217, 60%, 41%) |
| HSV | hsv(217, 75%, 66%) |
| CMYK | cmyk(75.1%, 46.7%, 0%, 33.7%) |
| CIE-LAB | lab(39.02, 12.08, -47.14) |
| CIE-LCH | lch(39.02, 48.67, 284.38°) |
| OKLab | oklab(47.81% -0.0242 -0.1352) |
| OKLCH | oklch(47.81% 0.137 259.9) |
| XYZ | xyz(11.7698, 10.6678, 38.9672) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.26
Denim Blue
#3B5B92
ΔE00 3.29
Sapphire
#0F52BA
ΔE00 3.42
Dusk Blue
#26538D
ΔE00 4.06
Light Navy Blue
#2E5A88
ΔE00 4.18
Denim (survey)
#3B638C
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA9 #A9792A
analogous
#2A9AA9 #2A5AA9 #3A2AA9
triadic
#2A5AA9 #A92A5A #5AA92A
tetradic
#2A5AA9 #A92A9A #A9792A #2AA93A
square
#2A5AA9 #A92A9A #A9792A #2AA93A
split-complementary
#2A5AA9 #A93A2A #9AA92A
monochromatic
#122647 #1E4078 #2A5AA9 #4177D0 #729ADC
Accessibility & contrast
On white
6.70
#2A5AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2A5AA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA9
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA9 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#1256A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a5aa9; /* rgb */ color: rgb(42, 90, 169); /* oklch */ color: oklch(47.8% 0.137 259.9);
Tailwind
colors: {
custom: {
50: '#7588c3',
500: '#2a5aa9',
950: '#000000',
},
}SCSS
$custom: #2a5aa9; $custom-light: #7588c3; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa9",
"rgb": {
"r": 42,
"g": 90,
"b": 169
},
"hsl": {
"h": 217.323,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.47807,
"c": 0.13733,
"h": 259.9
},
"luminance": 0.10669
}Semantic roles & 50–950 ramp
primary
#2A5AA9
secondary
#C3A26C
accent
#A744E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81