#2A5AA2#2A5AA2
#2A5AA2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.128 H 258.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA2 |
|---|---|
| RGB | rgb(42, 90, 162) |
| HSL | hsl(216, 59%, 40%) |
| HSV | hsv(216, 74%, 64%) |
| CMYK | cmyk(74.1%, 44.4%, 0%, 36.5%) |
| CIE-LAB | lab(38.57, 9.40, -43.69) |
| CIE-LCH | lch(38.57, 44.69, 282.14°) |
| OKLab | oklab(47.32% -0.0254 -0.125) |
| OKLCH | oklch(47.32% 0.128 258.5) |
| XYZ | xyz(11.1302, 10.4120, 35.5985) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.80
Dusk Blue
#26538D
ΔE00 3.33
Light Navy Blue
#2E5A88
ΔE00 3.39
Denim
#1560BD
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 4.04
Denim (survey)
#3B638C
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA2 #A2722A
analogous
#2A96A2 #2A5AA2 #362AA2
triadic
#2A5AA2 #A22A5A #5AA22A
tetradic
#2A5AA2 #A22A96 #A2722A #2AA236
square
#2A5AA2 #A22A96 #A2722A #2AA236
split-complementary
#2A5AA2 #A2362A #96A22A
monochromatic
#112441 #1D3F71 #2A5AA2 #3D76CD #6D98D9
Accessibility & contrast
On white
6.81
#2A5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2A5AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA2 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa2; /* rgb */ color: rgb(42, 90, 162); /* oklch */ color: oklch(47.3% 0.128 258.5);
Tailwind
colors: {
custom: {
50: '#7488be',
500: '#2a5aa2',
950: '#000000',
},
}SCSS
$custom: #2a5aa2; $custom-light: #7488be; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa2",
"rgb": {
"r": 42,
"g": 90,
"b": 162
},
"hsl": {
"h": 216,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.47322,
"c": 0.1276,
"h": 258.5
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#2A5AA2
secondary
#C09D68
accent
#A446E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81