#2F77B6#2F77B6

#2F77B6 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.5% C 0.121 H 248.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F77B6
RGBrgb(47, 119, 182)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 74%, 71%)
CMYKcmyk(74.2%, 34.6%, 0%, 28.6%)
CIE-LABlab(48.48, -0.65, -39.67)
CIE-LCHlch(48.48, 39.67, 269.07°)
OKLaboklab(55.46% -0.0446 -0.1127)
OKLCHoklch(55.46% 0.121 248.4)
XYZxyz(16.2094, 17.1735, 46.7074)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77B6 #B66E2F
analogous
#2FB6B2 #2F77B6 #2F34B6
triadic
#2F77B6 #B62F77 #77B62F
tetradic
#2F77B6 #B22FB6 #B66E2F #34B62F
square
#2F77B6 #B22FB6 #B66E2F #34B62F
split-complementary
#2F77B6 #B62F34 #B6B22F
monochromatic
#163755 #225785 #2F77B6 #5095D2 #81B3DE

Accessibility & contrast

On white

4.74
#2F77B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F77B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77B6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77B6#FFFFFF#000000##FFFFFF
##2F77B61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB9
Deuteranopia (green-blind)
#476DB5
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f77b6;
/* rgb */ color: rgb(47, 119, 182);
/* oklch */ color: oklch(55.5% 0.121 248.4);
Tailwind
colors: {
  custom: {
    50: '#799dcc',
    500: '#2f77b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f77b6;
$custom-light: #799dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77b6",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 182
  },
  "hsl": {
    "h": 208,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.1212,
    "h": 248.4
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#2F77B6
secondary
#C79E79
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F77B6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F77B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva