#2A5AA1#2A5AA1
#2A5AA1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.126 H 258.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA1 |
|---|---|
| RGB | rgb(42, 90, 161) |
| HSL | hsl(216, 59%, 40%) |
| HSV | hsv(216, 74%, 63%) |
| CMYK | cmyk(73.9%, 44.1%, 0%, 36.9%) |
| CIE-LAB | lab(38.51, 9.01, -43.19) |
| CIE-LCH | lch(38.51, 44.12, 281.79°) |
| OKLab | oklab(47.25% -0.0256 -0.1236) |
| OKLCH | oklch(47.25% 0.126 258.3) |
| XYZ | xyz(11.0417, 10.3766, 35.1323) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.75
Dusk Blue
#26538D
ΔE00 3.24
Light Navy Blue
#2E5A88
ΔE00 3.27
Denim
#1560BD
ΔE00 3.76
Sapphire
#0F52BA
ΔE00 4.13
Denim (survey)
#3B638C
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA1 #A1712A
analogous
#2A96A1 #2A5AA1 #352AA1
triadic
#2A5AA1 #A12A5A #5AA12A
tetradic
#2A5AA1 #A12A96 #A1712A #2AA135
square
#2A5AA1 #A12A96 #A1712A #2AA135
split-complementary
#2A5AA1 #A1352A #96A12A
monochromatic
#112440 #1D3F70 #2A5AA1 #3C76CC #6D98D9
Accessibility & contrast
On white
6.83
#2A5AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2A5AA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA1
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA1 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa1; /* rgb */ color: rgb(42, 90, 161); /* oklch */ color: oklch(47.3% 0.126 258.3);
Tailwind
colors: {
custom: {
50: '#7488bd',
500: '#2a5aa1',
950: '#000000',
},
}SCSS
$custom: #2a5aa1; $custom-light: #7488bd; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa1",
"rgb": {
"r": 42,
"g": 90,
"b": 161
},
"hsl": {
"h": 215.798,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.47254,
"c": 0.12621,
"h": 258.3
},
"luminance": 0.10378
}Semantic roles & 50–950 ramp
primary
#2A5AA1
secondary
#C09C67
accent
#A346E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81