#2A71B1#2A71B1
#2A71B1 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.122 H 249.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71B1 |
|---|---|
| RGB | rgb(42, 113, 177) |
| HSL | hsl(208, 62%, 43%) |
| HSV | hsv(208, 76%, 69%) |
| CMYK | cmyk(76.3%, 36.2%, 0%, 30.6%) |
| CIE-LAB | lab(46.28, 0.51, -40.26) |
| CIE-LCH | lch(46.28, 40.26, 270.73°) |
| OKLab | oklab(53.61% -0.0432 -0.1146) |
| OKLCH | oklch(53.61% 0.122 249.3) |
| XYZ | xyz(14.7928, 15.4751, 43.7938) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.75
Medium Blue
#2C6FBB
ΔE00 2.01
Bluish
#2976BB
ΔE00 2.06
Muted Blue
#3B719F
ΔE00 2.41
Mid Blue
#276AB3
ΔE00 2.81
Windows Blue
#3778BF
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71B1 #B16A2A
analogous
#2AB1AD #2A71B1 #2A2EB1
triadic
#2A71B1 #B12A71 #71B12A
tetradic
#2A71B1 #AD2AB1 #B16A2A #2EB12A
square
#2A71B1 #AD2AB1 #B16A2A #2EB12A
split-complementary
#2A71B1 #B12A2E #B1AD2A
monochromatic
#13324E #1E5180 #2A71B1 #4590D3 #77ADDF
Accessibility & contrast
On white
5.13
#2A71B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2A71B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71B1
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71B1 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5374B4
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a71b1; /* rgb */ color: rgb(42, 113, 177); /* oklch */ color: oklch(53.6% 0.122 249.3);
Tailwind
colors: {
custom: {
50: '#7799c8',
500: '#2a71b1',
950: '#000000',
},
}SCSS
$custom: #2a71b1; $custom-light: #7799c8; $custom-dark: #000000;
JSON
{
"hex": "#2a71b1",
"rgb": {
"r": 42,
"g": 113,
"b": 177
},
"hsl": {
"h": 208.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.53608,
"c": 0.12244,
"h": 249.3
},
"luminance": 0.15477
}Semantic roles & 50–950 ramp
primary
#2A71B1
secondary
#C69970
accent
#9043E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82