#2F7C8E#2F7C8E

#2F7C8E is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.7% C 0.079 H 216.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7C8E
RGBrgb(47, 124, 142)
HSLhsl(191, 50%, 37%)
HSVhsv(191, 67%, 56%)
CMYKcmyk(66.9%, 12.7%, 0%, 44.3%)
CIE-LABlab(48.22, -17.50, -16.70)
CIE-LCHlch(48.22, 24.19, 223.65°)
OKLaboklab(54.67% -0.0638 -0.0464)
OKLCHoklch(54.67% 0.079 216)
XYZxyz(13.2604, 16.9712, 28.1629)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C8E #8E412F
analogous
#2F8E71 #2F7C8E #2F4D8E
triadic
#2F7C8E #8E2F7C #7C8E2F
tetradic
#2F7C8E #712F8E #8E412F #4D8E2F
square
#2F7C8E #712F8E #8E412F #4D8E2F
split-complementary
#2F7C8E #8E2F4D #8E712F
monochromatic
#112C32 #205460 #2F7C8E #3EA4BC #6ABBCE

Accessibility & contrast

On white

4.78
#2F7C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7C8E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C8E#FFFFFF#000000##FFFFFF
##2F7C8E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788F
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7c8e;
/* rgb */ color: rgb(47, 124, 142);
/* oklch */ color: oklch(54.7% 0.079 216.0);
Tailwind
colors: {
  custom: {
    50: '#73a2af',
    500: '#2f7c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c8e;
$custom-light: #73a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c8e",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 191.368,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.07896,
    "h": 216
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#2F7C8E
secondary
#B57364
accent
#694EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2F7C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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