#1B5341#1B5341

#1B5341 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.0% C 0.066 H 168.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1B5341
RGBrgb(27, 83, 65)
HSLhsl(161, 51%, 22%)
HSVhsv(161, 67%, 33%)
CMYKcmyk(67.5%, 0%, 21.7%, 67.5%)
CIE-LABlab(31.35, -23.22, 5.21)
CIE-LCHlch(31.35, 23.80, 167.35°)
OKLaboklab(39.99% -0.0648 0.0133)
OKLCHoklch(39.99% 0.066 168.4)
XYZxyz(4.4989, 6.8007, 6.0756)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5341 #531B2D
analogous
#1B5325 #1B5341 #1B4953
triadic
#1B5341 #411B53 #53411B
tetradic
#1B5341 #251B53 #531B2D #49531B
square
#1B5341 #251B53 #531B2D #49531B
split-complementary
#1B5341 #531B49 #53251B
monochromatic
#081712 #0C251D #1B5341 #2A8165 #39AF89

Accessibility & contrast

On white

8.90
#1B5341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B5341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5341
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5341#FFFFFF#000000##FFFFFF
##1B53411.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D40
Deuteranopia (green-blind)
#494742
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b5341;
/* rgb */ color: rgb(27, 83, 65);
/* oklch */ color: oklch(40.0% 0.066 168.4);
Tailwind
colors: {
  custom: {
    50: '#5f8475',
    500: '#1b5341',
    950: '#000000',
  },
}
SCSS
$custom: #1b5341;
$custom-light: #5f8475;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5341",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 65
  },
  "hsl": {
    "h": 160.714,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39992,
    "c": 0.06617,
    "h": 168.4
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#1B5341
secondary
#894158
accent
#4D7BDA
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #1B5341

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

Preview Lab → · Contrast checker → · Palette generator →

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