#2F879E#2F879E

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

Color values

HEX#2F879E
RGBrgb(47, 135, 158)
HSLhsl(192, 54%, 40%)
HSVhsv(192, 70%, 62%)
CMYKcmyk(70.3%, 14.6%, 0%, 38%)
CIE-LABlab(52.29, -18.23, -19.84)
CIE-LCHlch(52.29, 26.94, 227.42°)
OKLaboklab(58.14% -0.0691 -0.0553)
OKLCHoklch(58.14% 0.089 218.7)
XYZxyz(16.0053, 20.3991, 35.4350)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F879E #9E462F
analogous
#2F9E7D #2F879E #2F509E
triadic
#2F879E #9E2F87 #879E2F
tetradic
#2F879E #7D2F9E #9E462F #509E2F
square
#2F879E #7D2F9E #9E462F #509E2F
split-complementary
#2F879E #9E2F50 #9E7D2F
monochromatic
#133640 #215F6F #2F879E #43ACC7 #72C1D5

Accessibility & contrast

On white

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

On black

5.08
#2F879E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F879E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F879E#FFFFFF#000000##000000
##2F879E1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78839F
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f879e;
/* rgb */ color: rgb(47, 135, 158);
/* oklch */ color: oklch(58.1% 0.089 218.7);
Tailwind
colors: {
  custom: {
    50: '#76aaba',
    500: '#2f879e',
    950: '#000000',
  },
}
SCSS
$custom: #2f879e;
$custom-light: #76aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f879e",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 192.432,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.08851,
    "h": 218.7
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

primary
#2F879E
secondary
#BD7D6C
accent
#694ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2F879E

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

Preview Lab → · Contrast checker → · Palette generator →

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