#2A5AB2#2A5AB2
#2A5AB2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.150 H 261.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AB2 |
|---|---|
| RGB | rgb(42, 90, 178) |
| HSL | hsl(219, 62%, 43%) |
| HSV | hsv(219, 76%, 70%) |
| CMYK | cmyk(76.4%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(39.61, 15.54, -51.50) |
| CIE-LCH | lch(39.61, 53.80, 286.79°) |
| OKLab | oklab(48.45% -0.0227 -0.148) |
| OKLCH | oklch(48.45% 0.15 261.3) |
| XYZ | xyz(12.6440, 11.0175, 43.5711) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.85
Denim
#1560BD
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 4.16
Dusk Blue
#26538D
ΔE00 5.09
Light Navy Blue
#2E5A88
ΔE00 5.20
Dusky Blue
#475F94
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AB2 #B2822A
analogous
#2A9EB2 #2A5AB2 #3E2AB2
triadic
#2A5AB2 #B22A5A #5AB22A
tetradic
#2A5AB2 #B22A9E #B2822A #2AB23E
square
#2A5AB2 #B22A9E #B2822A #2AB23E
split-complementary
#2A5AB2 #B23E2A #9EB22A
monochromatic
#13284F #1E4180 #2A5AB2 #4678D3 #779CDF
Accessibility & contrast
On white
6.55
#2A5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2A5AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AB2
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AB2 | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5ab2; /* rgb */ color: rgb(42, 90, 178); /* oklch */ color: oklch(48.5% 0.150 261.3);
Tailwind
colors: {
custom: {
50: '#7788ca',
500: '#2a5ab2',
950: '#000000',
},
}SCSS
$custom: #2a5ab2; $custom-light: #7788ca; $custom-dark: #000000;
JSON
{
"hex": "#2a5ab2",
"rgb": {
"r": 42,
"g": 90,
"b": 178
},
"hsl": {
"h": 218.824,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.48454,
"c": 0.14976,
"h": 261.3
},
"luminance": 0.11019
}Semantic roles & 50–950 ramp
primary
#2A5AB2
secondary
#C7A971
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82