#2F77AE#2F77AE

#2F77AE is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.111 H 245.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F77AE
RGBrgb(47, 119, 174)
HSLhsl(206, 57%, 43%)
HSVhsv(206, 73%, 68%)
CMYKcmyk(73%, 31.6%, 0%, 31.8%)
CIE-LABlab(48.07, -3.56, -35.67)
CIE-LCHlch(48.07, 35.84, 264.30°)
OKLaboklab(55.01% -0.0469 -0.101)
OKLCHoklch(55.01% 0.111 245.1)
XYZxyz(15.4062, 16.8522, 42.4771)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77AE #AE662F
analogous
#2FAEA5 #2F77AE #2F38AE
triadic
#2F77AE #AE2F77 #77AE2F
tetradic
#2F77AE #A52FAE #AE662F #38AE2F
square
#2F77AE #A52FAE #AE662F #38AE2F
split-complementary
#2F77AE #AE2F38 #AEA52F
monochromatic
#15354E #22567E #2F77AE #4C96CF #7CB2DC

Accessibility & contrast

On white

4.80
#2F77AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2F77AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77AE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77AE#FFFFFF#000000##FFFFFF
##2F77AE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B0
Deuteranopia (green-blind)
#4C6DAD
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f77ae;
/* rgb */ color: rgb(47, 119, 174);
/* oklch */ color: oklch(55.0% 0.111 245.1);
Tailwind
colors: {
  custom: {
    50: '#789ec6',
    500: '#2f77ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f77ae;
$custom-light: #789ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77ae",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 174
  },
  "hsl": {
    "h": 205.984,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.11139,
    "h": 245.1
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#2F77AE
secondary
#C49775
accent
#8A47E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F77AE

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

Preview Lab → · Contrast checker → · Palette generator →

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