#2F77A9#2F77A9

#2F77A9 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.105 H 242.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F77A9
RGBrgb(47, 119, 169)
HSLhsl(205, 56%, 42%)
HSVhsv(205, 72%, 66%)
CMYKcmyk(72.2%, 29.6%, 0%, 33.7%)
CIE-LABlab(47.83, -5.36, -33.14)
CIE-LCHlch(47.83, 33.57, 260.81°)
OKLaboklab(54.74% -0.0485 -0.0937)
OKLCHoklch(54.74% 0.105 242.6)
XYZxyz(14.9278, 16.6609, 39.9576)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77A9 #A9612F
analogous
#2FA99E #2F77A9 #2F3AA9
triadic
#2F77A9 #A92F77 #77A92F
tetradic
#2F77A9 #9E2FA9 #A9612F #3AA92F
square
#2F77A9 #9E2FA9 #A9612F #3AA92F
split-complementary
#2F77A9 #A92F3A #A99E2F
monochromatic
#143449 #225579 #2F77A9 #4996CC #79B2DA

Accessibility & contrast

On white

4.85
#2F77A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F77A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77A9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77A9#FFFFFF#000000##FFFFFF
##2F77A91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6078AB
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f77a9;
/* rgb */ color: rgb(47, 119, 169);
/* oklch */ color: oklch(54.7% 0.105 242.6);
Tailwind
colors: {
  custom: {
    50: '#779ec3',
    500: '#2f77a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f77a9;
$custom-light: #779ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77a9",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 169
  },
  "hsl": {
    "h": 204.59,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.10548,
    "h": 242.6
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#2F77A9
secondary
#C29372
accent
#8648E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F77A9

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

Preview Lab → · Contrast checker → · Palette generator →

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