#2F71C1#2F71C1
#2F71C1 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.8% C 0.142 H 255.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71C1 |
|---|---|
| RGB | rgb(47, 113, 193) |
| HSL | hsl(213, 61%, 47%) |
| HSV | hsv(213, 76%, 76%) |
| CMYK | cmyk(75.6%, 41.5%, 0%, 24.3%) |
| CIE-LAB | lab(47.32, 7.12, -47.86) |
| CIE-LCH | lch(47.32, 48.39, 278.46°) |
| OKLab | oklab(54.75% -0.0363 -0.1368) |
| OKLCH | oklch(54.75% 0.142 255.1) |
| XYZ | xyz(16.6995, 16.2629, 52.7007) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.08
Windows Blue
#3778BF
ΔE00 2.57
Bluish
#2976BB
ΔE00 2.81
Flat Blue
#3C73A8
ΔE00 2.89
Mid Blue
#276AB3
ΔE00 3.02
French Blue
#436BAD
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71C1 #C17F2F
analogous
#2FBAC1 #2F71C1 #362FC1
triadic
#2F71C1 #C12F71 #71C12F
tetradic
#2F71C1 #C12FBA #C17F2F #2FC136
square
#2F71C1 #C12FBA #C17F2F #2FC136
split-complementary
#2F71C1 #C1362F #BAC12F
monochromatic
#17375F #235490 #2F71C1 #5791D6 #88B1E2
Accessibility & contrast
On white
4.94
#2F71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#2F71C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71C1
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71C1 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 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: #2f71c1; /* rgb */ color: rgb(47, 113, 193); /* oklch */ color: oklch(54.8% 0.142 255.1);
Tailwind
colors: {
custom: {
50: '#7c99d4',
500: '#2f71c1',
950: '#000000',
},
}SCSS
$custom: #2f71c1; $custom-light: #7c99d4; $custom-dark: #000000;
JSON
{
"hex": "#2f71c1",
"rgb": {
"r": 47,
"g": 113,
"b": 193
},
"hsl": {
"h": 212.877,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.54752,
"c": 0.14156,
"h": 255.1
},
"luminance": 0.16265
}Semantic roles & 50–950 ramp
primary
#2F71C1
secondary
#CCAA80
accent
#9C44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83