#2F77C9#2F77C9

#2F77C9 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.6% C 0.145 H 254.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F77C9
RGBrgb(47, 119, 201)
HSLhsl(212, 62%, 49%)
HSVhsv(212, 77%, 79%)
CMYKcmyk(76.6%, 40.8%, 0%, 21.2%)
CIE-LABlab(49.51, 6.38, -48.95)
CIE-LCHlch(49.51, 49.36, 277.43°)
OKLaboklab(56.61% -0.0398 -0.1399)
OKLCHoklch(56.61% 0.145 254.1)
XYZxyz(18.3078, 18.0129, 57.7590)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77C9 #C9812F
analogous
#2FC4C9 #2F77C9 #342FC9
triadic
#2F77C9 #C92F77 #77C92F
tetradic
#2F77C9 #C92FC4 #C9812F #2FC934
square
#2F77C9 #C92FC4 #C9812F #2FC934
split-complementary
#2F77C9 #C9342F #C4C92F
monochromatic
#183C66 #235A97 #2F77C9 #5C97D9 #8EB6E5

Accessibility & contrast

On white

4.56
#2F77C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F77C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F77C9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77C9#FFFFFF#000000##000000
##2F77C91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCC
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f77c9;
/* rgb */ color: rgb(47, 119, 201);
/* oklch */ color: oklch(56.6% 0.145 254.1);
Tailwind
colors: {
  custom: {
    50: '#7d9dda',
    500: '#2f77c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f77c9;
$custom-light: #7d9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77c9",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 201
  },
  "hsl": {
    "h": 211.948,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.14546,
    "h": 254.1
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#2F77C9
secondary
#CFAC85
accent
#9943E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F77C9

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

Preview Lab → · Contrast checker → · Palette generator →

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