#2F71C0#2F71C0
#2F71C0 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.140 H 254.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71C0 |
|---|---|
| RGB | rgb(47, 113, 192) |
| HSL | hsl(213, 61%, 47%) |
| HSV | hsv(213, 76%, 75%) |
| CMYK | cmyk(75.5%, 41.1%, 0%, 24.7%) |
| CIE-LAB | lab(47.26, 6.75, -47.38) |
| CIE-LCH | lch(47.26, 47.86, 278.11°) |
| OKLab | oklab(54.69% -0.0365 -0.1354) |
| OKLCH | oklch(54.69% 0.14 254.9) |
| XYZ | xyz(16.5883, 16.2185, 52.1152) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.99
Windows Blue
#3778BF
ΔE00 2.56
Bluish
#2976BB
ΔE00 2.73
Flat Blue
#3C73A8
ΔE00 2.78
Mid Blue
#276AB3
ΔE00 2.95
French Blue
#436BAD
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71C0 #C07E2F
analogous
#2FB9C0 #2F71C0 #362FC0
triadic
#2F71C0 #C02F71 #71C02F
tetradic
#2F71C0 #C02FB9 #C07E2F #2FC036
square
#2F71C0 #C02FB9 #C07E2F #2FC036
split-complementary
#2F71C0 #C0362F #B9C02F
monochromatic
#17375E #23548F #2F71C0 #5690D6 #88B1E2
Accessibility & contrast
On white
4.95
#2F71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#2F71C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71C0
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71C0 | 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)
#4B77C3
Deuteranopia (green-blind)
#326ABE
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f71c0; /* rgb */ color: rgb(47, 113, 192); /* oklch */ color: oklch(54.7% 0.140 254.9);
Tailwind
colors: {
custom: {
50: '#7b99d3',
500: '#2f71c0',
950: '#000000',
},
}SCSS
$custom: #2f71c0; $custom-light: #7b99d3; $custom-dark: #000000;
JSON
{
"hex": "#2f71c0",
"rgb": {
"r": 47,
"g": 113,
"b": 192
},
"hsl": {
"h": 212.69,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.54688,
"c": 0.14024,
"h": 254.9
},
"luminance": 0.1622
}Semantic roles & 50–950 ramp
primary
#2F71C0
secondary
#CBA97F
accent
#9B44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83