#2F77AA#2F77AA

#2F77AA is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.107 H 243.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F77AA
RGBrgb(47, 119, 170)
HSLhsl(205, 57%, 43%)
HSVhsv(205, 72%, 67%)
CMYKcmyk(72.4%, 30%, 0%, 33.3%)
CIE-LABlab(47.88, -5.00, -33.64)
CIE-LCHlch(47.88, 34.01, 261.54°)
OKLaboklab(54.79% -0.0482 -0.0951)
OKLCHoklch(54.79% 0.107 243.1)
XYZxyz(15.0220, 16.6986, 40.4539)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77AA #AA622F
analogous
#2FAA9F #2F77AA #2F3AAA
triadic
#2F77AA #AA2F77 #77AA2F
tetradic
#2F77AA #9F2FAA #AA622F #3AAA2F
square
#2F77AA #9F2FAA #AA622F #3AAA2F
split-complementary
#2F77AA #AA2F3A #AA9F2F
monochromatic
#14344A #22557A #2F77AA #4996CD #79B2DA

Accessibility & contrast

On white

4.84
#2F77AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F77AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77AA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77AA#FFFFFF#000000##FFFFFF
##2F77AA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6078AC
Deuteranopia (green-blind)
#4F6CA9
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f77aa;
/* rgb */ color: rgb(47, 119, 170);
/* oklch */ color: oklch(54.8% 0.107 243.1);
Tailwind
colors: {
  custom: {
    50: '#779ec3',
    500: '#2f77aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f77aa;
$custom-light: #779ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77aa",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 170
  },
  "hsl": {
    "h": 204.878,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.10665,
    "h": 243.1
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#2F77AA
secondary
#C29472
accent
#8748E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F77AA

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

Preview Lab → · Contrast checker → · Palette generator →

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