#2F838C#2F838C

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

Color values

HEX#2F838C
RGBrgb(47, 131, 140)
HSLhsl(186, 50%, 37%)
HSVhsv(186, 66%, 55%)
CMYKcmyk(66.4%, 6.4%, 0%, 45.1%)
CIE-LABlab(50.37, -21.89, -12.27)
CIE-LCHlch(50.37, 25.09, 209.28°)
OKLaboklab(56.37% -0.0724 -0.034)
OKLCHoklch(56.37% 0.08 205.2)
XYZxyz(14.0202, 18.7289, 27.6820)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F838C #8C382F
analogous
#2F8C67 #2F838C #2F558C
triadic
#2F838C #8C2F83 #838C2F
tetradic
#2F838C #672F8C #8C382F #558C2F
square
#2F838C #672F8C #8C382F #558C2F
split-complementary
#2F838C #8C2F55 #8C672F
monochromatic
#102D30 #20585E #2F838C #3EAEBA #69C3CD

Accessibility & contrast

On white

4.42
#2F838C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2F838C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F838C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F838C#FFFFFF#000000##000000
##2F838C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8D
Deuteranopia (green-blind)
#6B738C
Tritanopia (blue-blind)
#008886
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f838c;
/* rgb */ color: rgb(47, 131, 140);
/* oklch */ color: oklch(56.4% 0.080 205.2);
Tailwind
colors: {
  custom: {
    50: '#74a7ad',
    500: '#2f838c',
    950: '#000000',
  },
}
SCSS
$custom: #2f838c;
$custom-light: #74a7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f838c",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 140
  },
  "hsl": {
    "h": 185.806,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.08003,
    "h": 205.2
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#2F838C
secondary
#B46B63
accent
#5C4FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F838C

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

Preview Lab → · Contrast checker → · Palette generator →

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