#2F77A1#2F77A1

#2F77A1 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.096 H 238.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F77A1
RGBrgb(47, 119, 161)
HSLhsl(202, 55%, 41%)
HSVhsv(202, 71%, 63%)
CMYKcmyk(70.8%, 26.1%, 0%, 36.9%)
CIE-LABlab(47.46, -8.21, -29.05)
CIE-LCHlch(47.46, 30.18, 254.22°)
OKLaboklab(54.32% -0.0512 -0.0818)
OKLCHoklch(54.32% 0.096 238)
XYZxyz(14.1996, 16.3696, 36.1226)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77A1 #A1592F
analogous
#2FA192 #2F77A1 #2F3EA1
triadic
#2F77A1 #A12F77 #77A12F
tetradic
#2F77A1 #922FA1 #A1592F #3EA12F
square
#2F77A1 #922FA1 #A1592F #3EA12F
split-complementary
#2F77A1 #A12F3E #A1922F
monochromatic
#133142 #215472 #2F77A1 #4598C9 #74B2D6

Accessibility & contrast

On white

4.91
#2F77A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F77A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77A1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77A1#FFFFFF#000000##FFFFFF
##2F77A11.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A3
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f77a1;
/* rgb */ color: rgb(47, 119, 161);
/* oklch */ color: oklch(54.3% 0.096 238.0);
Tailwind
colors: {
  custom: {
    50: '#769ebd',
    500: '#2f77a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f77a1;
$custom-light: #769ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77a1",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 161
  },
  "hsl": {
    "h": 202.105,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.09649,
    "h": 238
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#2F77A1
secondary
#BE8B6E
accent
#804ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F77A1

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

Preview Lab → · Contrast checker → · Palette generator →

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