#2D71C1#2D71C1
#2D71C1 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.142 H 254.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2D71C1 |
|---|---|
| RGB | rgb(45, 113, 193) |
| HSL | hsl(212, 62%, 47%) |
| HSV | hsv(212, 77%, 76%) |
| CMYK | cmyk(76.7%, 41.5%, 0%, 24.3%) |
| CIE-LAB | lab(47.26, 6.88, -47.96) |
| CIE-LCH | lch(47.26, 48.45, 278.16°) |
| OKLab | oklab(54.69% -0.0375 -0.1371) |
| OKLCH | oklch(54.69% 0.142 254.7) |
| XYZ | xyz(16.6094, 16.2165, 52.6965) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.00
Windows Blue
#3778BF
ΔE00 2.55
Bluish
#2976BB
ΔE00 2.66
Flat Blue
#3C73A8
ΔE00 2.84
Mid Blue
#276AB3
ΔE00 2.96
Muted Blue
#3B719F
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D71C1 #C17D2D
analogous
#2DBBC1 #2D71C1 #332DC1
triadic
#2D71C1 #C12D71 #71C12D
tetradic
#2D71C1 #C12DBB #C17D2D #2DC133
square
#2D71C1 #C12DBB #C17D2D #2DC133
split-complementary
#2D71C1 #C1332D #BBC12D
monochromatic
#16375E #21548F #2D71C1 #5490D7 #86B0E3
Accessibility & contrast
On white
4.95
#2D71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#2D71C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D71C1
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D71C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D71C1 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2d71c1; /* rgb */ color: rgb(45, 113, 193); /* oklch */ color: oklch(54.7% 0.142 254.7);
Tailwind
colors: {
custom: {
50: '#7b99d4',
500: '#2d71c1',
950: '#000000',
},
}SCSS
$custom: #2d71c1; $custom-light: #7b99d4; $custom-dark: #000000;
JSON
{
"hex": "#2d71c1",
"rgb": {
"r": 45,
"g": 113,
"b": 193
},
"hsl": {
"h": 212.432,
"s": 62.185,
"l": 46.667
},
"oklch": {
"l": 0.54688,
"c": 0.14218,
"h": 254.7
},
"luminance": 0.16218
}Semantic roles & 50–950 ramp
primary
#2D71C1
secondary
#CCA87E
accent
#9A43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83