#1B798B#1B798B

#1B798B is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.086 H 214.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1B798B
RGBrgb(27, 121, 139)
HSLhsl(190, 67%, 33%)
HSVhsv(190, 81%, 55%)
CMYKcmyk(80.6%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.67, -19.67, -17.34)
CIE-LCHlch(46.67, 26.22, 221.40°)
OKLaboklab(53.25% -0.0714 -0.0484)
OKLCHoklch(53.25% 0.086 214.1)
XYZxyz(11.9476, 15.7704, 26.8354)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B798B #8B2D1B
analogous
#1B8B65 #1B798B #1B418B
triadic
#1B798B #8B1B79 #798B1B
tetradic
#1B798B #651B8B #8B2D1B #418B1B
square
#1B798B #651B8B #8B2D1B #418B1B
split-complementary
#1B798B #8B1B41 #8B651B
monochromatic
#072025 #114C58 #1B798B #25A6BE #45C3DB

Accessibility & contrast

On white

5.05
#1B798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1B798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B798B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B798B#FFFFFF#000000##FFFFFF
##1B798B1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b798b;
/* rgb */ color: rgb(27, 121, 139);
/* oklch */ color: oklch(53.2% 0.086 214.1);
Tailwind
colors: {
  custom: {
    50: '#6ca0ad',
    500: '#1b798b',
    950: '#000000',
  },
}
SCSS
$custom: #1b798b;
$custom-light: #6ca0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b798b",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 189.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.08629,
    "h": 214.1
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#1B798B
secondary
#BC5845
accent
#593DEA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1B798B

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

Preview Lab → · Contrast checker → · Palette generator →

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