#2F7D8E#2F7D8E

#2F7D8E is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 54.9% C 0.079 H 214.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7D8E
RGBrgb(47, 125, 142)
HSLhsl(191, 50%, 37%)
HSVhsv(191, 67%, 56%)
CMYKcmyk(66.9%, 12%, 0%, 44.3%)
CIE-LABlab(48.54, -18.05, -16.22)
CIE-LCHlch(48.54, 24.26, 221.94°)
OKLaboklab(54.93% -0.065 -0.0451)
OKLCHoklch(54.93% 0.079 214.8)
XYZxyz(13.3864, 17.2231, 28.2048)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D8E #8E402F
analogous
#2F8E70 #2F7D8E #2F4D8E
triadic
#2F7D8E #8E2F7D #7D8E2F
tetradic
#2F7D8E #702F8E #8E402F #4D8E2F
square
#2F7D8E #702F8E #8E402F #4D8E2F
split-complementary
#2F7D8E #8E2F4D #8E702F
monochromatic
#112C32 #205560 #2F7D8E #3EA5BC #6ABCCE

Accessibility & contrast

On white

4.72
#2F7D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F7D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D8E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D8E#FFFFFF#000000##FFFFFF
##2F7D8E1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7d8e;
/* rgb */ color: rgb(47, 125, 142);
/* oklch */ color: oklch(54.9% 0.079 214.8);
Tailwind
colors: {
  custom: {
    50: '#74a2af',
    500: '#2f7d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d8e;
$custom-light: #74a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d8e",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 142
  },
  "hsl": {
    "h": 190.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.07908,
    "h": 214.8
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#2F7D8E
secondary
#B57364
accent
#674EDA
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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