#2A5AA8#2A5AA8
#2A5AA8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.136 H 259.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA8 |
|---|---|
| RGB | rgb(42, 90, 168) |
| HSL | hsl(217, 60%, 41%) |
| HSV | hsv(217, 75%, 66%) |
| CMYK | cmyk(75%, 46.4%, 0%, 34.1%) |
| CIE-LAB | lab(38.95, 11.70, -46.65) |
| CIE-LCH | lch(38.95, 48.10, 284.08°) |
| OKLab | oklab(47.74% -0.0243 -0.1337) |
| OKLCH | oklch(47.74% 0.136 259.7) |
| XYZ | xyz(11.6763, 10.6304, 38.4747) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.21
Denim
#1560BD
ΔE00 3.31
Sapphire
#0F52BA
ΔE00 3.51
Dusk Blue
#26538D
ΔE00 3.95
Light Navy Blue
#2E5A88
ΔE00 4.07
Denim (survey)
#3B638C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA8 #A8782A
analogous
#2A99A8 #2A5AA8 #392AA8
triadic
#2A5AA8 #A82A5A #5AA82A
tetradic
#2A5AA8 #A82A99 #A8782A #2AA839
square
#2A5AA8 #A82A99 #A8782A #2AA839
split-complementary
#2A5AA8 #A8392A #99A82A
monochromatic
#122646 #1E4077 #2A5AA8 #4077CF #719ADB
Accessibility & contrast
On white
6.72
#2A5AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2A5AA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA8
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA8 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1456A6
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a5aa8; /* rgb */ color: rgb(42, 90, 168); /* oklch */ color: oklch(47.7% 0.136 259.7);
Tailwind
colors: {
custom: {
50: '#7588c2',
500: '#2a5aa8',
950: '#000000',
},
}SCSS
$custom: #2a5aa8; $custom-light: #7588c2; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa8",
"rgb": {
"r": 42,
"g": 90,
"b": 168
},
"hsl": {
"h": 217.143,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.47737,
"c": 0.13594,
"h": 259.7
},
"luminance": 0.10632
}Semantic roles & 50–950 ramp
primary
#2A5AA8
secondary
#C3A16B
accent
#A745E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81