#2F879A#2F879A

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

Color values

HEX#2F879A
RGBrgb(47, 135, 154)
HSLhsl(191, 53%, 39%)
HSVhsv(191, 69%, 60%)
CMYKcmyk(69.5%, 12.3%, 0%, 39.6%)
CIE-LABlab(52.13, -19.53, -17.75)
CIE-LCHlch(52.13, 26.39, 222.26°)
OKLaboklab(57.96% -0.0707 -0.0494)
OKLCHoklch(57.96% 0.086 214.9)
XYZxyz(15.6666, 20.2636, 33.6512)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F879A #9A422F
analogous
#2F9A78 #2F879A #2F529A
triadic
#2F879A #9A2F87 #879A2F
tetradic
#2F879A #782F9A #9A422F #529A2F
square
#2F879A #782F9A #9A422F #529A2F
split-complementary
#2F879A #9A2F52 #9A782F
monochromatic
#12353C #215E6B #2F879A #41AEC5 #70C2D3

Accessibility & contrast

On white

4.16
#2F879A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2F879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F879A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F879A#FFFFFF#000000##000000
##2F879A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839B
Deuteranopia (green-blind)
#6A789A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f879a;
/* rgb */ color: rgb(47, 135, 154);
/* oklch */ color: oklch(58.0% 0.086 214.9);
Tailwind
colors: {
  custom: {
    50: '#76aab7',
    500: '#2f879a',
    950: '#000000',
  },
}
SCSS
$custom: #2f879a;
$custom-light: #76aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f879a",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 190.654,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.08629,
    "h": 214.9
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#2F879A
secondary
#BB786A
accent
#654BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #2F879A

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

Preview Lab → · Contrast checker → · Palette generator →

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