#2D71C5#2D71C5
#2D71C5 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.9% C 0.147 H 255.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2D71C5 |
|---|---|
| RGB | rgb(45, 113, 197) |
| HSL | hsl(213, 63%, 47%) |
| HSV | hsv(213, 77%, 77%) |
| CMYK | cmyk(77.2%, 42.6%, 0%, 22.7%) |
| CIE-LAB | lab(47.49, 8.38, -49.89) |
| CIE-LCH | lch(47.49, 50.59, 279.54°) |
| OKLab | oklab(54.95% -0.0367 -0.1428) |
| OKLCH | oklch(54.95% 0.147 255.6) |
| XYZ | xyz(17.0616, 16.3974, 55.0783) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.40
Windows Blue
#3778BF
ΔE00 2.62
Bluish
#2976BB
ΔE00 3.00
Flat Blue
#3C73A8
ΔE00 3.23
Mid Blue
#276AB3
ΔE00 3.28
French Blue
#436BAD
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D71C5 #C5812D
analogous
#2DBDC5 #2D71C5 #352DC5
triadic
#2D71C5 #C52D71 #71C52D
tetradic
#2D71C5 #C52DBD #C5812D #2DC535
square
#2D71C5 #C52DBD #C5812D #2DC535
split-complementary
#2D71C5 #C5352D #BDC52D
monochromatic
#163861 #225493 #2D71C5 #5791D9 #88B1E4
Accessibility & contrast
On white
4.91
#2D71C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#2D71C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D71C5
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D71C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D71C5 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#2B6AC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2d71c5; /* rgb */ color: rgb(45, 113, 197); /* oklch */ color: oklch(54.9% 0.147 255.6);
Tailwind
colors: {
custom: {
50: '#7c99d7',
500: '#2d71c5',
950: '#000000',
},
}SCSS
$custom: #2d71c5; $custom-light: #7c99d7; $custom-dark: #000000;
JSON
{
"hex": "#2d71c5",
"rgb": {
"r": 45,
"g": 113,
"b": 197
},
"hsl": {
"h": 213.158,
"s": 62.81,
"l": 47.451
},
"oklch": {
"l": 0.54946,
"c": 0.14743,
"h": 255.6
},
"luminance": 0.16399
}Semantic roles & 50–950 ramp
primary
#2D71C5
secondary
#CEAB80
accent
#9D42E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83