#2F77A2#2F77A2

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

Color values

HEX#2F77A2
RGBrgb(47, 119, 162)
HSLhsl(202, 55%, 41%)
HSVhsv(202, 71%, 64%)
CMYKcmyk(71%, 26.5%, 0%, 36.5%)
CIE-LABlab(47.50, -7.86, -29.56)
CIE-LCHlch(47.50, 30.59, 255.12°)
OKLaboklab(54.37% -0.0508 -0.0833)
OKLCHoklch(54.37% 0.098 238.6)
XYZxyz(14.2882, 16.4050, 36.5889)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77A2 #A25A2F
analogous
#2FA293 #2F77A2 #2F3DA2
triadic
#2F77A2 #A22F77 #77A22F
tetradic
#2F77A2 #932FA2 #A25A2F #3DA22F
square
#2F77A2 #932FA2 #A25A2F #3DA22F
split-complementary
#2F77A2 #A22F3D #A2932F
monochromatic
#133143 #215473 #2F77A2 #4598C9 #75B2D7

Accessibility & contrast

On white

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

On black

4.28
#2F77A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F77A2#FFFFFF#000000##FFFFFF
##2F77A21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f77a2;
/* rgb */ color: rgb(47, 119, 162);
/* oklch */ color: oklch(54.4% 0.098 238.6);
Tailwind
colors: {
  custom: {
    50: '#769ebd',
    500: '#2f77a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f77a2;
$custom-light: #769ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77a2",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 202.435,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.09758,
    "h": 238.6
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#2F77A2
secondary
#BF8C6E
accent
#8149DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F77A2

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

Preview Lab → · Contrast checker → · Palette generator →

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