#2F7E8E#2F7E8E

#2F7E8E is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.2% C 0.079 H 213.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7E8E
RGBrgb(47, 126, 142)
HSLhsl(190, 50%, 37%)
HSVhsv(190, 67%, 56%)
CMYKcmyk(66.9%, 11.3%, 0%, 44.3%)
CIE-LABlab(48.86, -18.59, -15.74)
CIE-LCHlch(48.86, 24.35, 220.25°)
OKLaboklab(55.18% -0.0661 -0.0437)
OKLCHoklch(55.18% 0.079 213.5)
XYZxyz(13.5136, 17.4776, 28.2473)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E8E #8E3F2F
analogous
#2F8E6F #2F7E8E #2F4F8E
triadic
#2F7E8E #8E2F7E #7E8E2F
tetradic
#2F7E8E #6F2F8E #8E3F2F #4F8E2F
square
#2F7E8E #6F2F8E #8E3F2F #4F8E2F
split-complementary
#2F7E8E #8E2F4F #8E6F2F
monochromatic
#112C32 #205560 #2F7E8E #3EA7BC #6ABDCE

Accessibility & contrast

On white

4.67
#2F7E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F7E8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E8E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E8E#FFFFFF#000000##FFFFFF
##2F7E8E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8F
Deuteranopia (green-blind)
#64708E
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7e8e;
/* rgb */ color: rgb(47, 126, 142);
/* oklch */ color: oklch(55.2% 0.079 213.5);
Tailwind
colors: {
  custom: {
    50: '#74a3af',
    500: '#2f7e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e8e;
$custom-light: #74a3af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e8e",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 142
  },
  "hsl": {
    "h": 190.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.07922,
    "h": 213.5
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#2F7E8E
secondary
#B57264
accent
#664EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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