#2F77B3#2F77B3

#2F77B3 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.117 H 247.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F77B3
RGBrgb(47, 119, 179)
HSLhsl(207, 58%, 44%)
HSVhsv(207, 74%, 70%)
CMYKcmyk(73.7%, 33.5%, 0%, 29.8%)
CIE-LABlab(48.32, -1.74, -38.17)
CIE-LCHlch(48.32, 38.21, 267.39°)
OKLaboklab(55.29% -0.0454 -0.1083)
OKLCHoklch(55.29% 0.117 247.3)
XYZxyz(15.9027, 17.0509, 45.0921)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77B3 #B36B2F
analogous
#2FB3AD #2F77B3 #2F35B3
triadic
#2F77B3 #B32F77 #77B32F
tetradic
#2F77B3 #AD2FB3 #B36B2F #35B32F
square
#2F77B3 #AD2FB3 #B36B2F #35B32F
split-complementary
#2F77B3 #B32F35 #B3AD2F
monochromatic
#163752 #225783 #2F77B3 #4F96D1 #7FB2DD

Accessibility & contrast

On white

4.76
#2F77B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F77B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77B3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77B3#FFFFFF#000000##FFFFFF
##2F77B31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#00858D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f77b3;
/* rgb */ color: rgb(47, 119, 179);
/* oklch */ color: oklch(55.3% 0.117 247.3);
Tailwind
colors: {
  custom: {
    50: '#799dca',
    500: '#2f77b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f77b3;
$custom-light: #799dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77b3",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 179
  },
  "hsl": {
    "h": 207.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.11748,
    "h": 247.3
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#2F77B3
secondary
#C69B78
accent
#8D46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F77B3

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

Preview Lab → · Contrast checker → · Palette generator →

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