#1B5948#1B5948

#1B5948 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.9% C 0.069 H 171.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1B5948
RGBrgb(27, 89, 72)
HSLhsl(164, 53%, 23%)
HSVhsv(164, 70%, 35%)
CMYKcmyk(69.7%, 0%, 19.1%, 65.1%)
CIE-LABlab(33.66, -24.31, 4.11)
CIE-LCHlch(33.66, 24.66, 170.41°)
OKLaboklab(41.94% -0.0683 0.0105)
OKLCHoklch(41.94% 0.069 171.3)
XYZxyz(5.1935, 7.8451, 7.3702)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5948 #591B2C
analogous
#1B5929 #1B5948 #1B4B59
triadic
#1B5948 #481B59 #59481B
tetradic
#1B5948 #291B59 #591B2C #4B591B
square
#1B5948 #291B59 #591B2C #4B591B
split-complementary
#1B5948 #591B4B #59291B
monochromatic
#071713 #0D2A22 #1B5948 #29886E #37B794

Accessibility & contrast

On white

8.17
#1B5948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B5948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5948
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5948#FFFFFF#000000##FFFFFF
##1B59481.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565347
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#005A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5948;
/* rgb */ color: rgb(27, 89, 72);
/* oklch */ color: oklch(41.9% 0.069 171.3);
Tailwind
colors: {
  custom: {
    50: '#60887b',
    500: '#1b5948',
    950: '#000000',
  },
}
SCSS
$custom: #1b5948;
$custom-light: #60887b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5948",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 72
  },
  "hsl": {
    "h": 163.548,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.06915,
    "h": 171.3
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#1B5948
secondary
#8F4156
accent
#4B73DD
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #1B5948

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

Preview Lab → · Contrast checker → · Palette generator →

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