#1B817C#1B817C

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

Color values

HEX#1B817C
RGBrgb(27, 129, 124)
HSLhsl(177, 65%, 31%)
HSVhsv(177, 79%, 51%)
CMYKcmyk(79.1%, 0%, 3.9%, 49.4%)
CIE-LABlab(48.74, -28.67, -5.36)
CIE-LCHlch(48.74, 29.16, 190.59°)
OKLaboklab(54.75% -0.0866 -0.015)
OKLCHoklch(54.75% 0.088 189.8)
XYZxyz(11.9386, 17.3873, 21.7917)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B817C #811B20
analogous
#1B8149 #1B817C #1B5381
triadic
#1B817C #7C1B81 #817C1B
tetradic
#1B817C #491B81 #811B20 #53811B
square
#1B817C #491B81 #811B20 #53811B
split-complementary
#1B817C #811B53 #81491B
monochromatic
#061C1B #104E4B #1B817C #26B4AD #3FD7CF

Accessibility & contrast

On white

4.69
#1B817C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B817C#FFFFFF#000000##FFFFFF
##1B817C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7C
Deuteranopia (green-blind)
#6B6F7D
Tritanopia (blue-blind)
#00857F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1b817c;
/* rgb */ color: rgb(27, 129, 124);
/* oklch */ color: oklch(54.8% 0.088 189.8);
Tailwind
colors: {
  custom: {
    50: '#6ba6a1',
    500: '#1b817c',
    950: '#000000',
  },
}
SCSS
$custom: #1b817c;
$custom-light: #6ba6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b817c",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 177.059,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.0879,
    "h": 189.8
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#1B817C
secondary
#B54349
accent
#3F48E8
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #1B817C

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

Preview Lab → · Contrast checker → · Palette generator →

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