#2F879C#2F879C

#2F879C is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.087 H 216.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F879C
RGBrgb(47, 135, 156)
HSLhsl(192, 54%, 40%)
HSVhsv(192, 70%, 61%)
CMYKcmyk(69.9%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.21, -18.88, -18.79)
CIE-LCHlch(52.21, 26.64, 224.86°)
OKLaboklab(58.05% -0.0699 -0.0524)
OKLCHoklch(58.05% 0.087 216.8)
XYZxyz(15.8345, 20.3308, 34.5358)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F879C #9C442F
analogous
#2F9C7B #2F879C #2F509C
triadic
#2F879C #9C2F87 #879C2F
tetradic
#2F879C #7B2F9C #9C442F #509C2F
square
#2F879C #7B2F9C #9C442F #509C2F
split-complementary
#2F879C #9C2F50 #9C7B2F
monochromatic
#13363E #215E6D #2F879C #42ADC6 #71C1D4

Accessibility & contrast

On white

4.14
#2F879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F879C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F879C#FFFFFF#000000##000000
##2F879C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f879c;
/* rgb */ color: rgb(47, 135, 156);
/* oklch */ color: oklch(58.0% 0.087 216.8);
Tailwind
colors: {
  custom: {
    50: '#76aab9',
    500: '#2f879c',
    950: '#000000',
  },
}
SCSS
$custom: #2f879c;
$custom-light: #76aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f879c",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.56,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.08734,
    "h": 216.8
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#2F879C
secondary
#BC7B6B
accent
#674BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2F879C

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

Preview Lab → · Contrast checker → · Palette generator →

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