#2F71C5#2F71C5
#2F71C5 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 55.0% C 0.147 H 256.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71C5 |
|---|---|
| RGB | rgb(47, 113, 197) |
| HSL | hsl(214, 61%, 48%) |
| HSV | hsv(214, 76%, 77%) |
| CMYK | cmyk(76.1%, 42.6%, 0%, 22.7%) |
| CIE-LAB | lab(47.55, 8.62, -49.79) |
| CIE-LCH | lch(47.55, 50.53, 279.82°) |
| OKLab | oklab(55.01% -0.0355 -0.1425) |
| OKLCH | oklch(55.01% 0.147 256) |
| XYZ | xyz(17.1517, 16.4438, 55.0825) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.51
Windows Blue
#3778BF
ΔE00 2.67
Bluish
#2976BB
ΔE00 3.15
Flat Blue
#3C73A8
ΔE00 3.29
Mid Blue
#276AB3
ΔE00 3.35
French Blue
#436BAD
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71C5 #C5832F
analogous
#2FBCC5 #2F71C5 #382FC5
triadic
#2F71C5 #C52F71 #71C52F
tetradic
#2F71C5 #C52FBC #C5832F #2FC538
square
#2F71C5 #C52FBC #C5832F #2FC538
split-complementary
#2F71C5 #C5382F #BCC52F
monochromatic
#173862 #235594 #2F71C5 #5A91D8 #8BB2E3
Accessibility & contrast
On white
4.90
#2F71C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#2F71C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71C5
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71C5 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#2C6AC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f71c5; /* rgb */ color: rgb(47, 113, 197); /* oklch */ color: oklch(55.0% 0.147 256.0);
Tailwind
colors: {
custom: {
50: '#7c99d7',
500: '#2f71c5',
950: '#000000',
},
}SCSS
$custom: #2f71c5; $custom-light: #7c99d7; $custom-dark: #000000;
JSON
{
"hex": "#2f71c5",
"rgb": {
"r": 47,
"g": 113,
"b": 197
},
"hsl": {
"h": 213.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55009,
"c": 0.14683,
"h": 256
},
"luminance": 0.16446
}Semantic roles & 50–950 ramp
primary
#2F71C5
secondary
#CDAC82
accent
#9E43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83