#2F71CC#2F71CC
#2F71CC is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.5% C 0.156 H 257.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71CC |
|---|---|
| RGB | rgb(47, 113, 204) |
| HSL | hsl(215, 63%, 49%) |
| HSV | hsv(215, 77%, 80%) |
| CMYK | cmyk(77%, 44.6%, 0%, 20%) |
| CIE-LAB | lab(47.97, 11.25, -53.13) |
| CIE-LCH | lch(47.97, 54.31, 281.95°) |
| OKLab | oklab(55.47% -0.0341 -0.1523) |
| OKLCH | oklch(55.47% 0.156 257.4) |
| XYZ | xyz(17.9725, 16.7721, 59.4052) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.35
Windows Blue
#3778BF
ΔE00 3.02
Cerulean Blue
#056EEE
ΔE00 3.61
Bluish
#2976BB
ΔE00 3.80
Flat Blue
#3C73A8
ΔE00 4.01
Mid Blue
#276AB3
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71CC #CC8A2F
analogous
#2FC0CC #2F71CC #3B2FCC
triadic
#2F71CC #CC2F71 #71CC2F
tetradic
#2F71CC #CC2FC0 #CC8A2F #2FCC3B
square
#2F71CC #CC2FC0 #CC8A2F #2FCC3B
split-complementary
#2F71CC #CC3B2F #C0CC2F
monochromatic
#183A69 #24559A #2F71CC #5E92DA #90B4E5
Accessibility & contrast
On white
4.82
#2F71CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#2F71CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71CC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71CC | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#427ACF
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2f71cc; /* rgb */ color: rgb(47, 113, 204); /* oklch */ color: oklch(55.5% 0.156 257.4);
Tailwind
colors: {
custom: {
50: '#7e99dc',
500: '#2f71cc',
950: '#000000',
},
}SCSS
$custom: #2f71cc; $custom-light: #7e99dc; $custom-dark: #000000;
JSON
{
"hex": "#2f71cc",
"rgb": {
"r": 47,
"g": 113,
"b": 204
},
"hsl": {
"h": 214.777,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.5547,
"c": 0.15607,
"h": 257.4
},
"luminance": 0.16774
}Semantic roles & 50–950 ramp
primary
#2F71CC
secondary
#D0B187
accent
#A142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83