#2F77B2#2F77B2

#2F77B2 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.2% C 0.116 H 246.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F77B2
RGBrgb(47, 119, 178)
HSLhsl(207, 58%, 44%)
HSVhsv(207, 74%, 70%)
CMYKcmyk(73.6%, 33.1%, 0%, 30.2%)
CIE-LABlab(48.27, -2.11, -37.67)
CIE-LCHlch(48.27, 37.73, 266.80°)
OKLaboklab(55.24% -0.0457 -0.1069)
OKLCHoklch(55.24% 0.116 246.8)
XYZxyz(15.8019, 17.0106, 44.5614)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77B2 #B26A2F
analogous
#2FB2AC #2F77B2 #2F36B2
triadic
#2F77B2 #B22F77 #77B22F
tetradic
#2F77B2 #AC2FB2 #B26A2F #36B22F
square
#2F77B2 #AC2FB2 #B26A2F #36B22F
split-complementary
#2F77B2 #B22F36 #B2AC2F
monochromatic
#153651 #225782 #2F77B2 #4E96D0 #7EB2DD

Accessibility & contrast

On white

4.77
#2F77B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F77B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77B2#FFFFFF#000000##FFFFFF
##2F77B21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B5
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f77b2;
/* rgb */ color: rgb(47, 119, 178);
/* oklch */ color: oklch(55.2% 0.116 246.8);
Tailwind
colors: {
  custom: {
    50: '#799dc9',
    500: '#2f77b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f77b2;
$custom-light: #799dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77b2",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 207.023,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.11625,
    "h": 246.8
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#2F77B2
secondary
#C69A77
accent
#8C46E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F77B2

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

Preview Lab → · Contrast checker → · Palette generator →

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