#2F77AF#2F77AF

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

Color values

HEX#2F77AF
RGBrgb(47, 119, 175)
HSLhsl(206, 58%, 44%)
HSVhsv(206, 73%, 69%)
CMYKcmyk(73.1%, 32%, 0%, 31.4%)
CIE-LABlab(48.12, -3.20, -36.17)
CIE-LCHlch(48.12, 36.31, 264.95°)
OKLaboklab(55.07% -0.0466 -0.1025)
OKLCHoklch(55.07% 0.113 245.5)
XYZxyz(15.5040, 16.8914, 42.9924)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77AF #AF672F
analogous
#2FAFA7 #2F77AF #2F37AF
triadic
#2F77AF #AF2F77 #77AF2F
tetradic
#2F77AF #A72FAF #AF672F #37AF2F
square
#2F77AF #A72FAF #AF672F #37AF2F
split-complementary
#2F77AF #AF2F37 #AFA72F
monochromatic
#15354F #22567F #2F77AF #4C96CF #7CB2DC

Accessibility & contrast

On white

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

On black

4.38
#2F77AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F77AF#FFFFFF#000000##FFFFFF
##2F77AF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B1
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#00858B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f77af;
/* rgb */ color: rgb(47, 119, 175);
/* oklch */ color: oklch(55.1% 0.113 245.5);
Tailwind
colors: {
  custom: {
    50: '#789ec7',
    500: '#2f77af',
    950: '#000000',
  },
}
SCSS
$custom: #2f77af;
$custom-light: #789ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77af",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 206.25,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.11259,
    "h": 245.5
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F77AF

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

Preview Lab → · Contrast checker → · Palette generator →

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