#2A5AB1#2A5AB1
#2A5AB1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.148 H 261.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AB1 |
|---|---|
| RGB | rgb(42, 90, 177) |
| HSL | hsl(219, 62%, 43%) |
| HSV | hsv(219, 76%, 69%) |
| CMYK | cmyk(76.3%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(39.54, 15.16, -51.02) |
| CIE-LCH | lch(39.54, 53.23, 286.55°) |
| OKLab | oklab(48.38% -0.0229 -0.1466) |
| OKLCH | oklch(48.38% 0.148 261.1) |
| XYZ | xyz(12.5440, 10.9775, 43.0442) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.90
Denim
#1560BD
ΔE00 3.02
Denim Blue
#3B5B92
ΔE00 4.05
Dusk Blue
#26538D
ΔE00 4.97
Light Navy Blue
#2E5A88
ΔE00 5.09
Dusky Blue
#475F94
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AB1 #B1812A
analogous
#2A9DB1 #2A5AB1 #3E2AB1
triadic
#2A5AB1 #B12A5A #5AB12A
tetradic
#2A5AB1 #B12A9D #B1812A #2AB13E
square
#2A5AB1 #B12A9D #B1812A #2AB13E
split-complementary
#2A5AB1 #B13E2A #9DB12A
monochromatic
#13284E #1E4180 #2A5AB1 #4578D3 #779CDF
Accessibility & contrast
On white
6.57
#2A5AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2A5AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AB1
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AB1 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5ab1; /* rgb */ color: rgb(42, 90, 177); /* oklch */ color: oklch(48.4% 0.148 261.1);
Tailwind
colors: {
custom: {
50: '#7788c9',
500: '#2a5ab1',
950: '#000000',
},
}SCSS
$custom: #2a5ab1; $custom-light: #7788c9; $custom-dark: #000000;
JSON
{
"hex": "#2a5ab1",
"rgb": {
"r": 42,
"g": 90,
"b": 177
},
"hsl": {
"h": 218.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.48381,
"c": 0.14838,
"h": 261.1
},
"luminance": 0.10979
}Semantic roles & 50–950 ramp
primary
#2A5AB1
secondary
#C6A870
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82