#2F77CE#2F77CE

#2F77CE is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.9% C 0.152 H 255.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F77CE
RGBrgb(47, 119, 206)
HSLhsl(213, 63%, 50%)
HSVhsv(213, 77%, 81%)
CMYKcmyk(77.2%, 42.2%, 0%, 19.2%)
CIE-LABlab(49.80, 8.25, -51.34)
CIE-LCHlch(49.80, 52.00, 279.12°)
OKLaboklab(56.93% -0.0387 -0.1469)
OKLCHoklch(56.93% 0.152 255.2)
XYZxyz(18.9056, 18.2520, 60.9071)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77CE #CE862F
analogous
#2FC7CE #2F77CE #362FCE
triadic
#2F77CE #CE2F77 #77CE2F
tetradic
#2F77CE #CE2FC7 #CE862F #2FCE36
square
#2F77CE #CE2FC7 #CE862F #2FCE36
split-complementary
#2F77CE #CE362F #C7CE2F
monochromatic
#183D6A #245A9C #2F77CE #6097DB #91B8E6

Accessibility & contrast

On white

4.52
#2F77CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F77CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F77CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77CE#FFFFFF#000000##000000
##2F77CE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f77ce;
/* rgb */ color: rgb(47, 119, 206);
/* oklch */ color: oklch(56.9% 0.152 255.2);
Tailwind
colors: {
  custom: {
    50: '#7e9ddd',
    500: '#2f77ce',
    950: '#000000',
  },
}
SCSS
$custom: #2f77ce;
$custom-light: #7e9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77ce",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 212.83,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.15195,
    "h": 255.2
  },
  "luminance": 0.18254
}

Semantic roles & 50–950 ramp

primary
#2F77CE
secondary
#D1B088
accent
#9C42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F77CE

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

Preview Lab → · Contrast checker → · Palette generator →

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