#2F77C8#2F77C8

#2F77C8 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.5% C 0.144 H 253.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F77C8
RGBrgb(47, 119, 200)
HSLhsl(212, 62%, 48%)
HSVhsv(212, 77%, 78%)
CMYKcmyk(76.5%, 40.5%, 0%, 21.6%)
CIE-LABlab(49.45, 6.01, -48.47)
CIE-LCHlch(49.45, 48.84, 277.07°)
OKLaboklab(56.55% -0.04 -0.1385)
OKLCHoklch(56.55% 0.144 253.9)
XYZxyz(18.1906, 17.9660, 57.1415)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77C8 #C8802F
analogous
#2FC3C8 #2F77C8 #342FC8
triadic
#2F77C8 #C82F77 #77C82F
tetradic
#2F77C8 #C82FC3 #C8802F #2FC834
square
#2F77C8 #C82FC3 #C8802F #2FC834
split-complementary
#2F77C8 #C8342F #C3C82F
monochromatic
#183C65 #235A96 #2F77C8 #5C96D9 #8DB6E4

Accessibility & contrast

On white

4.57
#2F77C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2F77C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F77C8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77C8#FFFFFF#000000##000000
##2F77C81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#366FC6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f77c8;
/* rgb */ color: rgb(47, 119, 200);
/* oklch */ color: oklch(56.5% 0.144 253.9);
Tailwind
colors: {
  custom: {
    50: '#7d9dd9',
    500: '#2f77c8',
    950: '#000000',
  },
}
SCSS
$custom: #2f77c8;
$custom-light: #7d9dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77c8",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 211.765,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.14417,
    "h": 253.9
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#2F77C8
secondary
#CFAC84
accent
#9943E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F77C8

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

Preview Lab → · Contrast checker → · Palette generator →

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