#2F77B5#2F77B5
#2F77B5 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.4% C 0.120 H 248.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F77B5 |
|---|---|
| RGB | rgb(47, 119, 181) |
| HSL | hsl(208, 59%, 45%) |
| HSV | hsv(208, 74%, 71%) |
| CMYK | cmyk(74%, 34.3%, 0%, 29%) |
| CIE-LAB | lab(48.43, -1.01, -39.17) |
| CIE-LCH | lch(48.43, 39.18, 268.52°) |
| OKLab | oklab(55.41% -0.0449 -0.1112) |
| OKLCH | oklch(55.41% 0.12 248) |
| XYZ | xyz(16.1064, 17.1324, 46.1651) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 0.82
Windows Blue
#3778BF
ΔE00 2.12
Flat Blue
#3C73A8
ΔE00 2.32
Muted Blue
#3B719F
ΔE00 3.35
Medium Blue
#2C6FBB
ΔE00 3.48
Dull Blue
#49759C
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F77B5 #B56D2F
analogous
#2FB5B0 #2F77B5 #2F34B5
triadic
#2F77B5 #B52F77 #77B52F
tetradic
#2F77B5 #B02FB5 #B56D2F #34B52F
square
#2F77B5 #B02FB5 #B56D2F #34B52F
split-complementary
#2F77B5 #B52F34 #B5B02F
monochromatic
#163754 #225784 #2F77B5 #5095D1 #80B3DE
Accessibility & contrast
On white
4.74
#2F77B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#2F77B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F77B5
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F77B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F77B5 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7AB8
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2f77b5; /* rgb */ color: rgb(47, 119, 181); /* oklch */ color: oklch(55.4% 0.120 248.0);
Tailwind
colors: {
custom: {
50: '#799dcb',
500: '#2f77b5',
950: '#000000',
},
}SCSS
$custom: #2f77b5; $custom-light: #799dcb; $custom-dark: #000000;
JSON
{
"hex": "#2f77b5",
"rgb": {
"r": 47,
"g": 119,
"b": 181
},
"hsl": {
"h": 207.761,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.55406,
"c": 0.11995,
"h": 248
},
"luminance": 0.17134
}Semantic roles & 50–950 ramp
primary
#2F77B5
secondary
#C79D79
accent
#8E46E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82