#2F879B#2F879B

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

Color values

HEX#2F879B
RGBrgb(47, 135, 155)
HSLhsl(191, 53%, 40%)
HSVhsv(191, 70%, 61%)
CMYKcmyk(69.7%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.17, -19.21, -18.27)
CIE-LCHlch(52.17, 26.51, 223.57°)
OKLaboklab(58.01% -0.0703 -0.0509)
OKLCHoklch(58.01% 0.087 215.9)
XYZxyz(15.7502, 20.2971, 34.0916)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F879B #9B432F
analogous
#2F9B79 #2F879B #2F519B
triadic
#2F879B #9B2F87 #879B2F
tetradic
#2F879B #792F9B #9B432F #519B2F
square
#2F879B #792F9B #9B432F #519B2F
split-complementary
#2F879B #9B2F51 #9B792F
monochromatic
#13353D #215E6C #2F879B #42ADC6 #71C1D4

Accessibility & contrast

On white

4.15
#2F879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F879B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F879B#FFFFFF#000000##000000
##2F879B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839C
Deuteranopia (green-blind)
#6A789B
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f879b;
/* rgb */ color: rgb(47, 135, 155);
/* oklch */ color: oklch(58.0% 0.087 215.9);
Tailwind
colors: {
  custom: {
    50: '#76aab8',
    500: '#2f879b',
    950: '#000000',
  },
}
SCSS
$custom: #2f879b;
$custom-light: #76aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f879b",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 191.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.0868,
    "h": 215.9
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#2F879B
secondary
#BB796A
accent
#664BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2F879B

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

Preview Lab → · Contrast checker → · Palette generator →

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