#1B817D#1B817D

#1B817D is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.8% C 0.088 H 190.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1B817D
RGBrgb(27, 129, 125)
HSLhsl(178, 65%, 31%)
HSVhsv(178, 79%, 51%)
CMYKcmyk(79.1%, 0%, 3.1%, 49.4%)
CIE-LABlab(48.78, -28.36, -5.90)
CIE-LCHlch(48.78, 28.97, 191.76°)
OKLaboklab(54.79% -0.0861 -0.0165)
OKLCHoklch(54.79% 0.088 190.8)
XYZxyz(12.0022, 17.4127, 22.1265)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B817D #811B1F
analogous
#1B814A #1B817D #1B5281
triadic
#1B817D #7D1B81 #817D1B
tetradic
#1B817D #4A1B81 #811B1F #52811B
square
#1B817D #4A1B81 #811B1F #52811B
split-complementary
#1B817D #811B52 #814A1B
monochromatic
#061C1B #104E4C #1B817D #26B4AE #3FD7D1

Accessibility & contrast

On white

4.68
#1B817D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1B817D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B817D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B817D#FFFFFF#000000##FFFFFF
##1B817D1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7D
Deuteranopia (green-blind)
#6B6F7E
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b817d;
/* rgb */ color: rgb(27, 129, 125);
/* oklch */ color: oklch(54.8% 0.088 190.8);
Tailwind
colors: {
  custom: {
    50: '#6ba6a2',
    500: '#1b817d',
    950: '#000000',
  },
}
SCSS
$custom: #1b817d;
$custom-light: #6ba6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b817d",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 125
  },
  "hsl": {
    "h": 177.647,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.0877,
    "h": 190.8
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#1B817D
secondary
#B54348
accent
#3F46E8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1B817D

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

Preview Lab → · Contrast checker → · Palette generator →

#1B817D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva