#2F838E#2F838E

#2F838E is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.5% C 0.081 H 207.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F838E
RGBrgb(47, 131, 142)
HSLhsl(187, 50%, 37%)
HSVhsv(187, 67%, 56%)
CMYKcmyk(66.9%, 7.7%, 0%, 44.3%)
CIE-LABlab(50.44, -21.26, -13.33)
CIE-LCHlch(50.44, 25.09, 212.10°)
OKLaboklab(56.45% -0.0715 -0.037)
OKLCHoklch(56.45% 0.081 207.3)
XYZxyz(14.1690, 18.7884, 28.4657)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F838E #8E3A2F
analogous
#2F8E6A #2F838E #2F548E
triadic
#2F838E #8E2F83 #838E2F
tetradic
#2F838E #6A2F8E #8E3A2F #548E2F
square
#2F838E #6A2F8E #8E3A2F #548E2F
split-complementary
#2F838E #8E2F54 #8E6A2F
monochromatic
#112E32 #205960 #2F838E #3EADBC #6AC2CE

Accessibility & contrast

On white

4.41
#2F838E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2F838E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F838E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F838E#FFFFFF#000000##000000
##2F838E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8F
Deuteranopia (green-blind)
#6A748E
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f838e;
/* rgb */ color: rgb(47, 131, 142);
/* oklch */ color: oklch(56.5% 0.081 207.3);
Tailwind
colors: {
  custom: {
    50: '#74a7af',
    500: '#2f838e',
    950: '#000000',
  },
}
SCSS
$custom: #2f838e;
$custom-light: #74a7af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f838e",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 142
  },
  "hsl": {
    "h": 186.947,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.08055,
    "h": 207.3
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#2F838E
secondary
#B56D64
accent
#5E4EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F838E

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

Preview Lab → · Contrast checker → · Palette generator →

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