#2B817C#2B817C

#2B817C is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.081 H 189.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B817C
RGBrgb(43, 129, 124)
HSLhsl(177, 50%, 34%)
HSVhsv(177, 67%, 51%)
CMYKcmyk(66.7%, 0%, 3.9%, 49.4%)
CIE-LABlab(49.09, -26.41, -4.81)
CIE-LCHlch(49.09, 26.84, 190.32°)
OKLaboklab(55.13% -0.0797 -0.0134)
OKLCHoklch(55.13% 0.081 189.6)
XYZxyz(12.4830, 17.6680, 21.8173)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B817C #812B30
analogous
#2B8151 #2B817C #2B5B81
triadic
#2B817C #7C2B81 #817C2B
tetradic
#2B817C #512B81 #812B30 #5B812B
square
#2B817C #512B81 #812B30 #5B812B
split-complementary
#2B817C #812B5B #81512B
monochromatic
#0C2524 #1C5350 #2B817C #3AAFA8 #5DC9C3

Accessibility & contrast

On white

4.63
#2B817C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B817C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B817C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B817C#FFFFFF#000000##FFFFFF
##2B817C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7C
Deuteranopia (green-blind)
#6D717D
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b817c;
/* rgb */ color: rgb(43, 129, 124);
/* oklch */ color: oklch(55.1% 0.081 189.6);
Tailwind
colors: {
  custom: {
    50: '#71a6a1',
    500: '#2b817c',
    950: '#000000',
  },
}
SCSS
$custom: #2b817c;
$custom-light: #71a6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b817c",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 176.512,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.08084,
    "h": 189.6
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#2B817C
secondary
#AF595E
accent
#4E56DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #2B817C

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

Preview Lab → · Contrast checker → · Palette generator →

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