#2F77CC#2F77CC
#2F77CC is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.149 H 254.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F77CC |
|---|---|
| RGB | rgb(47, 119, 204) |
| HSL | hsl(212, 63%, 49%) |
| HSV | hsv(212, 77%, 80%) |
| CMYK | cmyk(77%, 41.7%, 0%, 20%) |
| CIE-LAB | lab(49.68, 7.50, -50.39) |
| CIE-LCH | lch(49.68, 50.94, 278.47°) |
| OKLab | oklab(56.8% -0.0391 -0.1441) |
| OKLCH | oklch(56.8% 0.149 254.8) |
| XYZ | xyz(18.6641, 18.1554, 59.6357) |
| Luminance | 0.1816 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.34
Bluish
#2976BB
ΔE00 2.68
Medium Blue
#2C6FBB
ΔE00 3.45
Flat Blue
#3C73A8
ΔE00 4.07
Deep Sky Blue
#0D75F8
ΔE00 4.67
Cerulean Blue
#056EEE
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F77CC #CC842F
analogous
#2FC6CC #2F77CC #352FCC
triadic
#2F77CC #CC2F77 #77CC2F
tetradic
#2F77CC #CC2FC6 #CC842F #2FCC35
square
#2F77CC #CC2FC6 #CC842F #2FCC35
split-complementary
#2F77CC #CC352F #C6CC2F
monochromatic
#183D69 #245A9A #2F77CC #5E97DA #90B7E5
Accessibility & contrast
On white
4.53
#2F77CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#2F77CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F77CC
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F77CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F77CC | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f77cc; /* rgb */ color: rgb(47, 119, 204); /* oklch */ color: oklch(56.8% 0.149 254.8);
Tailwind
colors: {
custom: {
50: '#7e9ddc',
500: '#2f77cc',
950: '#000000',
},
}SCSS
$custom: #2f77cc; $custom-light: #7e9ddc; $custom-dark: #000000;
JSON
{
"hex": "#2f77cc",
"rgb": {
"r": 47,
"g": 119,
"b": 204
},
"hsl": {
"h": 212.484,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.56798,
"c": 0.14935,
"h": 254.8
},
"luminance": 0.18158
}Semantic roles & 50–950 ramp
primary
#2F77CC
secondary
#D0AE87
accent
#9B42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83