#2F71BC#2F71BC
#2F71BC is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.135 H 253.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71BC |
|---|---|
| RGB | rgb(47, 113, 188) |
| HSL | hsl(212, 60%, 46%) |
| HSV | hsv(212, 75%, 74%) |
| CMYK | cmyk(75%, 39.9%, 0%, 26.3%) |
| CIE-LAB | lab(47.03, 5.26, -45.43) |
| CIE-LCH | lch(47.03, 45.74, 276.60°) |
| OKLab | oklab(54.44% -0.0374 -0.1297) |
| OKLCH | oklch(54.44% 0.135 253.9) |
| XYZ | xyz(16.1511, 16.0436, 49.8127) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.73
Flat Blue
#3C73A8
ΔE00 2.39
Bluish
#2976BB
ΔE00 2.44
Windows Blue
#3778BF
ΔE00 2.58
Mid Blue
#276AB3
ΔE00 2.70
Muted Blue
#3B719F
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71BC #BC7A2F
analogous
#2FB7BC #2F71BC #332FBC
triadic
#2F71BC #BC2F71 #71BC2F
tetradic
#2F71BC #BC2FB7 #BC7A2F #2FBC33
square
#2F71BC #BC2FB7 #BC7A2F #2FBC33
split-complementary
#2F71BC #BC332F #B7BC2F
monochromatic
#17365A #23548B #2F71BC #5490D4 #85B0E0
Accessibility & contrast
On white
4.99
#2F71BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#2F71BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71BC
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71BC | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D77BF
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f71bc; /* rgb */ color: rgb(47, 113, 188); /* oklch */ color: oklch(54.4% 0.135 253.9);
Tailwind
colors: {
custom: {
50: '#7b99d0',
500: '#2f71bc',
950: '#000000',
},
}SCSS
$custom: #2f71bc; $custom-light: #7b99d0; $custom-dark: #000000;
JSON
{
"hex": "#2f71bc",
"rgb": {
"r": 47,
"g": 113,
"b": 188
},
"hsl": {
"h": 211.915,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.54437,
"c": 0.13498,
"h": 253.9
},
"luminance": 0.16045
}Semantic roles & 50–950 ramp
primary
#2F71BC
secondary
#CAA67D
accent
#9945E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82