#2F77A0#2F77A0

#2F77A0 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.095 H 237.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F77A0
RGBrgb(47, 119, 160)
HSLhsl(202, 55%, 41%)
HSVhsv(202, 71%, 63%)
CMYKcmyk(70.6%, 25.6%, 0%, 37.3%)
CIE-LABlab(47.41, -8.56, -28.53)
CIE-LCHlch(47.41, 29.79, 253.30°)
OKLaboklab(54.27% -0.0515 -0.0803)
OKLCHoklch(54.27% 0.095 237.3)
XYZxyz(14.1118, 16.3345, 35.6600)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77A0 #A0582F
analogous
#2FA090 #2F77A0 #2F3EA0
triadic
#2F77A0 #A02F77 #77A02F
tetradic
#2F77A0 #902FA0 #A0582F #3EA02F
square
#2F77A0 #902FA0 #A0582F #3EA02F
split-complementary
#2F77A0 #A02F3E #A0902F
monochromatic
#133141 #215471 #2F77A0 #4498C8 #73B2D6

Accessibility & contrast

On white

4.92
#2F77A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F77A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77A0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77A0#FFFFFF#000000##FFFFFF
##2F77A01.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A2
Deuteranopia (green-blind)
#546C9F
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f77a0;
/* rgb */ color: rgb(47, 119, 160);
/* oklch */ color: oklch(54.3% 0.095 237.3);
Tailwind
colors: {
  custom: {
    50: '#769ebc',
    500: '#2f77a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f77a0;
$custom-light: #769ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77a0",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 160
  },
  "hsl": {
    "h": 201.77,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54269,
    "c": 0.09542,
    "h": 237.3
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

primary
#2F77A0
secondary
#BE8A6D
accent
#804ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F77A0

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

Preview Lab → · Contrast checker → · Palette generator →

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