#2F879F#2F879F

#2F879F is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.089 H 219.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F879F
RGBrgb(47, 135, 159)
HSLhsl(193, 54%, 40%)
HSVhsv(193, 70%, 62%)
CMYKcmyk(70.4%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.32, -17.90, -20.36)
CIE-LCHlch(52.32, 27.10, 228.68°)
OKLaboklab(58.18% -0.0687 -0.0568)
OKLCHoklch(58.18% 0.089 219.6)
XYZxyz(16.0917, 20.4337, 35.8902)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F879F #9F472F
analogous
#2F9F7F #2F879F #2F4F9F
triadic
#2F879F #9F2F87 #879F2F
tetradic
#2F879F #7F2F9F #9F472F #4F9F2F
square
#2F879F #7F2F9F #9F472F #4F9F2F
split-complementary
#2F879F #9F2F4F #9F7F2F
monochromatic
#133741 #215F70 #2F879F #44ABC8 #73C0D6

Accessibility & contrast

On white

4.13
#2F879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2F879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F879F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F879F#FFFFFF#000000##000000
##2F879F1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f879f;
/* rgb */ color: rgb(47, 135, 159);
/* oklch */ color: oklch(58.2% 0.089 219.6);
Tailwind
colors: {
  custom: {
    50: '#77aabb',
    500: '#2f879f',
    950: '#000000',
  },
}
SCSS
$custom: #2f879f;
$custom-light: #77aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f879f",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 192.857,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.08912,
    "h": 219.6
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#2F879F
secondary
#BD7E6D
accent
#6A4ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2F879F

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

Preview Lab → · Contrast checker → · Palette generator →

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