#2F77B7#2F77B7
#2F77B7 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.5% C 0.122 H 248.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F77B7 |
|---|---|
| RGB | rgb(47, 119, 183) |
| HSL | hsl(208, 59%, 45%) |
| HSV | hsv(208, 74%, 72%) |
| CMYK | cmyk(74.3%, 35%, 0%, 28.2%) |
| CIE-LAB | lab(48.53, -0.28, -40.16) |
| CIE-LCH | lch(48.53, 40.16, 269.60°) |
| OKLab | oklab(55.52% -0.0443 -0.1141) |
| OKLCH | oklch(55.52% 0.122 248.8) |
| XYZ | xyz(16.3131, 17.2150, 47.2536) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 0.59
Windows Blue
#3778BF
ΔE00 1.83
Flat Blue
#3C73A8
ΔE00 2.38
Medium Blue
#2C6FBB
ΔE00 3.33
Muted Blue
#3B719F
ΔE00 3.51
Dull Blue
#49759C
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F77B7 #B76F2F
analogous
#2FB7B3 #2F77B7 #2F33B7
triadic
#2F77B7 #B72F77 #77B72F
tetradic
#2F77B7 #B32FB7 #B76F2F #33B72F
square
#2F77B7 #B32FB7 #B76F2F #33B72F
split-complementary
#2F77B7 #B72F33 #B7B32F
monochromatic
#163856 #225786 #2F77B7 #5195D2 #82B3DF
Accessibility & contrast
On white
4.73
#2F77B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#2F77B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F77B7
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F77B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F77B7 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7ABA
Deuteranopia (green-blind)
#466EB6
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2f77b7; /* rgb */ color: rgb(47, 119, 183); /* oklch */ color: oklch(55.5% 0.122 248.8);
Tailwind
colors: {
custom: {
50: '#7a9dcd',
500: '#2f77b7',
950: '#000000',
},
}SCSS
$custom: #2f77b7; $custom-light: #7a9dcd; $custom-dark: #000000;
JSON
{
"hex": "#2f77b7",
"rgb": {
"r": 47,
"g": 119,
"b": 183
},
"hsl": {
"h": 208.235,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.55521,
"c": 0.12244,
"h": 248.8
},
"luminance": 0.17217
}Semantic roles & 50–950 ramp
primary
#2F77B7
secondary
#C89F7A
accent
#8F45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82