#2F7D9F#2F7D9F

#2F7D9F is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.091 H 230.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7D9F
RGBrgb(47, 125, 159)
HSLhsl(198, 54%, 40%)
HSVhsv(198, 70%, 62%)
CMYKcmyk(70.4%, 21.4%, 0%, 37.6%)
CIE-LABlab(49.22, -12.36, -25.14)
CIE-LCHlch(49.22, 28.01, 243.82°)
OKLaboklab(55.69% -0.0582 -0.0705)
OKLCHoklch(55.69% 0.091 230.5)
XYZxyz(14.7614, 17.7731, 35.4468)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D9F #9F512F
analogous
#2F9F89 #2F7D9F #2F459F
triadic
#2F7D9F #9F2F7D #7D9F2F
tetradic
#2F7D9F #892F9F #9F512F #459F2F
square
#2F7D9F #892F9F #9F512F #459F2F
split-complementary
#2F7D9F #9F2F45 #9F892F
monochromatic
#133341 #215870 #2F7D9F #44A0C8 #73B8D6

Accessibility & contrast

On white

4.61
#2F7D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F7D9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D9F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D9F#FFFFFF#000000##FFFFFF
##2F7D9F1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7BA1
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7d9f;
/* rgb */ color: rgb(47, 125, 159);
/* oklch */ color: oklch(55.7% 0.091 230.5);
Tailwind
colors: {
  custom: {
    50: '#76a2bb',
    500: '#2f7d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d9f;
$custom-light: #76a2bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d9f",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 159
  },
  "hsl": {
    "h": 198.214,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.09139,
    "h": 230.5
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

primary
#2F7D9F
secondary
#BD856D
accent
#774ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2F7D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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