#2F77A3#2F77A3

#2F77A3 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.4% C 0.099 H 239.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F77A3
RGBrgb(47, 119, 163)
HSLhsl(203, 55%, 41%)
HSVhsv(203, 71%, 64%)
CMYKcmyk(71.2%, 27%, 0%, 36.1%)
CIE-LABlab(47.55, -7.50, -30.07)
CIE-LCHlch(47.55, 31.00, 255.99°)
OKLaboklab(54.42% -0.0505 -0.0848)
OKLCHoklch(54.42% 0.099 239.2)
XYZxyz(14.3774, 16.4407, 37.0589)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77A3 #A35B2F
analogous
#2FA395 #2F77A3 #2F3DA3
triadic
#2F77A3 #A32F77 #77A32F
tetradic
#2F77A3 #952FA3 #A35B2F #3DA32F
square
#2F77A3 #952FA3 #A35B2F #3DA32F
split-complementary
#2F77A3 #A32F3D #A3952F
monochromatic
#143244 #215473 #2F77A3 #4698CA #75B2D7

Accessibility & contrast

On white

4.90
#2F77A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F77A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77A3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77A3#FFFFFF#000000##FFFFFF
##2F77A31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A5
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f77a3;
/* rgb */ color: rgb(47, 119, 163);
/* oklch */ color: oklch(54.4% 0.099 239.2);
Tailwind
colors: {
  custom: {
    50: '#769ebe',
    500: '#2f77a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f77a3;
$custom-light: #769ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77a3",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 163
  },
  "hsl": {
    "h": 202.759,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.09867,
    "h": 239.2
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#2F77A3
secondary
#BF8D6F
accent
#8249DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F77A3

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

Preview Lab → · Contrast checker → · Palette generator →

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