#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
RGBrgb(47, 119, 183)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 74%, 72%)
CMYKcmyk(74.3%, 35%, 0%, 28.2%)
CIE-LABlab(48.53, -0.28, -40.16)
CIE-LCHlch(48.53, 40.16, 269.60°)
OKLaboklab(55.52% -0.0443 -0.1141)
OKLCHoklch(55.52% 0.122 248.8)
XYZxyz(16.3131, 17.2150, 47.2536)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2F77B71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.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

Preview Lab

Preview with #2F77B7

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

Preview Lab → · Contrast checker → · Palette generator →

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