#2F71C2#2F71C2
#2F71C2 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.8% C 0.143 H 255.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71C2 |
|---|---|
| RGB | rgb(47, 113, 194) |
| HSL | hsl(213, 61%, 47%) |
| HSV | hsv(213, 76%, 76%) |
| CMYK | cmyk(75.8%, 41.8%, 0%, 23.9%) |
| CIE-LAB | lab(47.38, 7.50, -48.34) |
| CIE-LCH | lch(47.38, 48.92, 278.81°) |
| OKLab | oklab(54.82% -0.0361 -0.1382) |
| OKLCH | oklch(54.82% 0.143 255.4) |
| XYZ | xyz(16.8114, 16.3077, 53.2902) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.18
Windows Blue
#3778BF
ΔE00 2.59
Bluish
#2976BB
ΔE00 2.89
Flat Blue
#3C73A8
ΔE00 2.99
Mid Blue
#276AB3
ΔE00 3.10
French Blue
#436BAD
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71C2 #C2802F
analogous
#2FBBC2 #2F71C2 #362FC2
triadic
#2F71C2 #C22F71 #71C22F
tetradic
#2F71C2 #C22FBB #C2802F #2FC236
square
#2F71C2 #C22FBB #C2802F #2FC236
split-complementary
#2F71C2 #C2362F #BBC22F
monochromatic
#17385F #235491 #2F71C2 #5891D6 #89B1E2
Accessibility & contrast
On white
4.93
#2F71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#2F71C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71C2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71C2 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f71c2; /* rgb */ color: rgb(47, 113, 194); /* oklch */ color: oklch(54.8% 0.143 255.4);
Tailwind
colors: {
custom: {
50: '#7c99d5',
500: '#2f71c2',
950: '#000000',
},
}SCSS
$custom: #2f71c2; $custom-light: #7c99d5; $custom-dark: #000000;
JSON
{
"hex": "#2f71c2",
"rgb": {
"r": 47,
"g": 113,
"b": 194
},
"hsl": {
"h": 213.061,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.54816,
"c": 0.14288,
"h": 255.4
},
"luminance": 0.1631
}Semantic roles & 50–950 ramp
primary
#2F71C2
secondary
#CCAA81
accent
#9C44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83