#2F77AC#2F77AC

#2F77AC is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.109 H 244.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F77AC
RGBrgb(47, 119, 172)
HSLhsl(205, 57%, 43%)
HSVhsv(205, 73%, 67%)
CMYKcmyk(72.7%, 30.8%, 0%, 32.5%)
CIE-LABlab(47.98, -4.28, -34.66)
CIE-LCHlch(47.98, 34.92, 262.96°)
OKLaboklab(54.9% -0.0475 -0.0981)
OKLCHoklch(54.9% 0.109 244.1)
XYZxyz(15.2127, 16.7748, 41.4578)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77AC #AC642F
analogous
#2FACA2 #2F77AC #2F38AC
triadic
#2F77AC #AC2F77 #77AC2F
tetradic
#2F77AC #A22FAC #AC642F #38AC2F
square
#2F77AC #A22FAC #AC642F #38AC2F
split-complementary
#2F77AC #AC2F38 #ACA22F
monochromatic
#15344C #22567C #2F77AC #4B96CE #7BB2DB

Accessibility & contrast

On white

4.82
#2F77AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2F77AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77AC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77AC#FFFFFF#000000##FFFFFF
##2F77AC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AE
Deuteranopia (green-blind)
#4D6DAB
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f77ac;
/* rgb */ color: rgb(47, 119, 172);
/* oklch */ color: oklch(54.9% 0.109 244.1);
Tailwind
colors: {
  custom: {
    50: '#789ec5',
    500: '#2f77ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f77ac;
$custom-light: #789ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77ac",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 172
  },
  "hsl": {
    "h": 205.44,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.109,
    "h": 244.1
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#2F77AC
secondary
#C39574
accent
#8847E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F77AC

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

Preview Lab → · Contrast checker → · Palette generator →

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