#2F77BB#2F77BB

#2F77BB is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.8% C 0.127 H 250.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F77BB
RGBrgb(47, 119, 187)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(74.9%, 36.4%, 0%, 26.7%)
CIE-LABlab(48.74, 1.19, -42.14)
CIE-LCHlch(48.74, 42.16, 271.62°)
OKLaboklab(55.76% -0.0432 -0.1199)
OKLCHoklch(55.76% 0.127 250.2)
XYZxyz(16.7354, 17.3839, 49.4775)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77BB #BB732F
analogous
#2FBBB9 #2F77BB #2F31BB
triadic
#2F77BB #BB2F77 #77BB2F
tetradic
#2F77BB #B92FBB #BB732F #31BB2F
square
#2F77BB #B92FBB #BB732F #31BB2F
split-complementary
#2F77BB #BB2F31 #BBB92F
monochromatic
#163959 #23588A #2F77BB #5395D4 #84B4E0

Accessibility & contrast

On white

4.69
#2F77BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2F77BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77BB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77BB#FFFFFF#000000##FFFFFF
##2F77BB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f77bb;
/* rgb */ color: rgb(47, 119, 187);
/* oklch */ color: oklch(55.8% 0.127 250.2);
Tailwind
colors: {
  custom: {
    50: '#7a9dd0',
    500: '#2f77bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f77bb;
$custom-light: #7a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77bb",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 209.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.12749,
    "h": 250.2
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#2F77BB
secondary
#C9A27C
accent
#9245E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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