#2F838B#2F838B

#2F838B is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.3% C 0.080 H 204.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F838B
RGBrgb(47, 131, 139)
HSLhsl(185, 49%, 36%)
HSVhsv(185, 66%, 55%)
CMYKcmyk(66.2%, 5.8%, 0%, 45.5%)
CIE-LABlab(50.33, -22.20, -11.74)
CIE-LCHlch(50.33, 25.11, 207.87°)
OKLaboklab(56.34% -0.0729 -0.0325)
OKLCHoklch(56.34% 0.08 204.1)
XYZxyz(13.9468, 18.6995, 27.2954)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F838B #8B372F
analogous
#2F8B65 #2F838B #2F558B
triadic
#2F838B #8B2F83 #838B2F
tetradic
#2F838B #652F8B #8B372F #558B2F
square
#2F838B #652F8B #8B372F #558B2F
split-complementary
#2F838B #8B2F55 #8B652F
monochromatic
#102D30 #20585D #2F838B #3EAEB9 #68C3CC

Accessibility & contrast

On white

4.43
#2F838B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2F838B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F838B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F838B#FFFFFF#000000##000000
##2F838B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8C
Deuteranopia (green-blind)
#6B738B
Tritanopia (blue-blind)
#008885
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f838b;
/* rgb */ color: rgb(47, 131, 139);
/* oklch */ color: oklch(56.3% 0.080 204.1);
Tailwind
colors: {
  custom: {
    50: '#74a7ac',
    500: '#2f838b',
    950: '#000000',
  },
}
SCSS
$custom: #2f838b;
$custom-light: #74a7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f838b",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 139
  },
  "hsl": {
    "h": 185.217,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.07981,
    "h": 204.1
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#2F838B
secondary
#B36A63
accent
#5B4FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F838B

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

Preview Lab → · Contrast checker → · Palette generator →

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