#2A5AA3#2A5AA3
#2A5AA3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.129 H 258.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA3 |
|---|---|
| RGB | rgb(42, 90, 163) |
| HSL | hsl(216, 59%, 40%) |
| HSV | hsv(216, 74%, 64%) |
| CMYK | cmyk(74.2%, 44.8%, 0%, 36.1%) |
| CIE-LAB | lab(38.63, 9.78, -44.19) |
| CIE-LCH | lch(38.63, 45.26, 282.48°) |
| OKLab | oklab(47.39% -0.0253 -0.1265) |
| OKLCH | oklch(47.39% 0.129 258.7) |
| XYZ | xyz(11.2195, 10.4477, 36.0685) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.86
Dusk Blue
#26538D
ΔE00 3.43
Light Navy Blue
#2E5A88
ΔE00 3.50
Denim
#1560BD
ΔE00 3.61
Sapphire
#0F52BA
ΔE00 3.95
Denim (survey)
#3B638C
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA3 #A3732A
analogous
#2A97A3 #2A5AA3 #362AA3
triadic
#2A5AA3 #A32A5A #5AA32A
tetradic
#2A5AA3 #A32A97 #A3732A #2AA336
square
#2A5AA3 #A32A97 #A3732A #2AA336
split-complementary
#2A5AA3 #A3362A #97A32A
monochromatic
#112442 #1D3F72 #2A5AA3 #3D76CD #6E99DA
Accessibility & contrast
On white
6.80
#2A5AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2A5AA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA3
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA3 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa3; /* rgb */ color: rgb(42, 90, 163); /* oklch */ color: oklch(47.4% 0.129 258.7);
Tailwind
colors: {
custom: {
50: '#7488bf',
500: '#2a5aa3',
950: '#000000',
},
}SCSS
$custom: #2a5aa3; $custom-light: #7488bf; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa3",
"rgb": {
"r": 42,
"g": 90,
"b": 163
},
"hsl": {
"h": 216.198,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.47391,
"c": 0.129,
"h": 258.7
},
"luminance": 0.10449
}Semantic roles & 50–950 ramp
primary
#2A5AA3
secondary
#C09D68
accent
#A446E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81