#1B7879#1B7879

#1B7879 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.082 H 196.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1B7879
RGBrgb(27, 120, 121)
HSLhsl(181, 64%, 29%)
HSVhsv(181, 78%, 47%)
CMYKcmyk(77.7%, 0.8%, 0%, 52.5%)
CIE-LABlab(45.70, -25.12, -8.13)
CIE-LCHlch(45.70, 26.40, 197.92°)
OKLaboklab(52.24% -0.0785 -0.0226)
OKLCHoklch(52.24% 0.082 196)
XYZxyz(10.6181, 15.0451, 20.4298)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7879 #791C1B
analogous
#1B794B #1B7879 #1B4979
triadic
#1B7879 #791B78 #78791B
tetradic
#1B7879 #4B1B79 #791C1B #49791B
square
#1B7879 #4B1B79 #791C1B #49791B
split-complementary
#1B7879 #791B49 #794B1B
monochromatic
#061919 #104647 #1B7879 #26AAAB #3BD2D3

Accessibility & contrast

On white

5.24
#1B7879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1B7879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7879
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7879#FFFFFF#000000##FFFFFF
##1B78791.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7279
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7879;
/* rgb */ color: rgb(27, 120, 121);
/* oklch */ color: oklch(52.2% 0.082 196.0);
Tailwind
colors: {
  custom: {
    50: '#6a9f9f',
    500: '#1b7879',
    950: '#000000',
  },
}
SCSS
$custom: #1b7879;
$custom-light: #6a9f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7879",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.638,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.08173,
    "h": 196
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#1B7879
secondary
#AD4443
accent
#4341E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B7879

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

Preview Lab → · Contrast checker → · Palette generator →

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