#2F7C8D#2F7C8D

#2F7C8D is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.6% C 0.078 H 215.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7C8D
RGBrgb(47, 124, 141)
HSLhsl(191, 50%, 37%)
HSVhsv(191, 67%, 55%)
CMYKcmyk(66.7%, 12.1%, 0%, 44.7%)
CIE-LABlab(48.19, -17.83, -16.17)
CIE-LCHlch(48.19, 24.07, 222.20°)
OKLaboklab(54.63% -0.0643 -0.0449)
OKLCHoklch(54.63% 0.078 215)
XYZxyz(13.1857, 16.9413, 27.7692)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C8D #8D402F
analogous
#2F8D6F #2F7C8D #2F4D8D
triadic
#2F7C8D #8D2F7C #7C8D2F
tetradic
#2F7C8D #6F2F8D #8D402F #4D8D2F
square
#2F7C8D #6F2F8D #8D402F #4D8D2F
split-complementary
#2F7C8D #8D2F4D #8D6F2F
monochromatic
#102B31 #20545F #2F7C8D #3EA4BB #69BBCD

Accessibility & contrast

On white

4.79
#2F7C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F7C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C8D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C8D#FFFFFF#000000##FFFFFF
##2F7C8D1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7c8d;
/* rgb */ color: rgb(47, 124, 141);
/* oklch */ color: oklch(54.6% 0.078 215.0);
Tailwind
colors: {
  custom: {
    50: '#73a2ae',
    500: '#2f7c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c8d;
$custom-light: #73a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c8d",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 190.851,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.07844,
    "h": 215
  },
  "luminance": 0.16943
}

Semantic roles & 50–950 ramp

primary
#2F7C8D
secondary
#B47264
accent
#674EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2F7C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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