#2A71B5#2A71B5
#2A71B5 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.128 H 250.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71B5 |
|---|---|
| RGB | rgb(42, 113, 181) |
| HSL | hsl(209, 62%, 44%) |
| HSV | hsv(209, 77%, 71%) |
| CMYK | cmyk(76.8%, 37.6%, 0%, 29%) |
| CIE-LAB | lab(46.49, 2.01, -42.24) |
| CIE-LCH | lch(46.49, 42.29, 272.72°) |
| OKLab | oklab(53.85% -0.0421 -0.1204) |
| OKLCH | oklch(53.85% 0.128 250.7) |
| XYZ | xyz(15.1973, 15.6369, 45.9244) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.48
Flat Blue
#3C73A8
ΔE00 1.88
Bluish
#2976BB
ΔE00 1.95
Mid Blue
#276AB3
ΔE00 2.63
Muted Blue
#3B719F
ΔE00 2.80
Windows Blue
#3778BF
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71B5 #B56E2A
analogous
#2AB5B3 #2A71B5 #2A2BB5
triadic
#2A71B5 #B52A71 #71B52A
tetradic
#2A71B5 #B32AB5 #B56E2A #2BB52A
square
#2A71B5 #B32AB5 #B56E2A #2BB52A
split-complementary
#2A71B5 #B52A2B #B5B32A
monochromatic
#133352 #1E5283 #2A71B5 #4890D4 #79AEE0
Accessibility & contrast
On white
5.09
#2A71B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2A71B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71B5
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71B5 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5175B8
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a71b5; /* rgb */ color: rgb(42, 113, 181); /* oklch */ color: oklch(53.8% 0.128 250.7);
Tailwind
colors: {
custom: {
50: '#7899cb',
500: '#2a71b5',
950: '#000000',
},
}SCSS
$custom: #2a71b5; $custom-light: #7899cb; $custom-dark: #000000;
JSON
{
"hex": "#2a71b5",
"rgb": {
"r": 42,
"g": 113,
"b": 181
},
"hsl": {
"h": 209.353,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.53848,
"c": 0.12754,
"h": 250.7
},
"luminance": 0.15639
}Semantic roles & 50–950 ramp
primary
#2A71B5
secondary
#C89C73
accent
#9242E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82