#2A5AB3#2A5AB3
#2A5AB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.151 H 261.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AB3 |
|---|---|
| RGB | rgb(42, 90, 179) |
| HSL | hsl(219, 62%, 43%) |
| HSV | hsv(219, 77%, 70%) |
| CMYK | cmyk(76.5%, 49.7%, 0%, 29.8%) |
| CIE-LAB | lab(39.68, 15.93, -51.98) |
| CIE-LCH | lch(39.68, 54.37, 287.04°) |
| OKLab | oklab(48.53% -0.0226 -0.1494) |
| OKLCH | oklch(48.53% 0.151 261.4) |
| XYZ | xyz(12.7448, 11.0578, 44.1018) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.81
Denim
#1560BD
ΔE00 3.00
Denim Blue
#3B5B92
ΔE00 4.26
Dusk Blue
#26538D
ΔE00 5.21
Light Navy Blue
#2E5A88
ΔE00 5.31
Dusky Blue
#475F94
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AB3 #B3832A
analogous
#2A9EB3 #2A5AB3 #3E2AB3
triadic
#2A5AB3 #B32A5A #5AB32A
tetradic
#2A5AB3 #B32A9E #B3832A #2AB33E
square
#2A5AB3 #B32A9E #B3832A #2AB33E
split-complementary
#2A5AB3 #B33E2A #9EB32A
monochromatic
#132850 #1E4181 #2A5AB3 #4678D4 #789CDF
Accessibility & contrast
On white
6.54
#2A5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2A5AB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AB3
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AB3 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5ab3; /* rgb */ color: rgb(42, 90, 179); /* oklch */ color: oklch(48.5% 0.151 261.4);
Tailwind
colors: {
custom: {
50: '#7888ca',
500: '#2a5ab3',
950: '#000000',
},
}SCSS
$custom: #2a5ab3; $custom-light: #7888ca; $custom-dark: #000000;
JSON
{
"hex": "#2a5ab3",
"rgb": {
"r": 42,
"g": 90,
"b": 179
},
"hsl": {
"h": 218.978,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.48528,
"c": 0.15113,
"h": 261.4
},
"luminance": 0.11059
}Semantic roles & 50–950 ramp
primary
#2A5AB3
secondary
#C7A972
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82