#1B5152#1B5152

#1B5152 is a dark, muted teal. Relative luminance 0.067; OKLCH L 40.0% C 0.056 H 196.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#1B5152
RGBrgb(27, 81, 82)
HSLhsl(181, 50%, 21%)
HSVhsv(181, 67%, 32%)
CMYKcmyk(67.1%, 1.2%, 0%, 67.8%)
CIE-LABlab(31.18, -17.04, -5.85)
CIE-LCHlch(31.18, 18.02, 198.94°)
OKLaboklab(40.03% -0.0534 -0.0162)
OKLCHoklch(40.03% 0.056 196.9)
XYZxyz(4.9168, 6.7265, 9.0202)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5152 #521C1B
analogous
#1B5238 #1B5152 #1B3652
triadic
#1B5152 #521B51 #51521B
tetradic
#1B5152 #381B52 #521C1B #36521B
square
#1B5152 #381B52 #521C1B #36521B
split-complementary
#1B5152 #521B36 #52381B
monochromatic
#081717 #0C2424 #1B5152 #2A7E80 #39ACAE

Accessibility & contrast

On white

8.95
#1B5152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B5152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5152
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5152#FFFFFF#000000##FFFFFF
##1B51521.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#434752
Tritanopia (blue-blind)
#005451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b5152;
/* rgb */ color: rgb(27, 81, 82);
/* oklch */ color: oklch(40.0% 0.056 196.9);
Tailwind
colors: {
  custom: {
    50: '#608282',
    500: '#1b5152',
    950: '#000000',
  },
}
SCSS
$custom: #1b5152;
$custom-light: #608282;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5152",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 181.091,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.05583,
    "h": 196.9
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#1B5152
secondary
#884241
accent
#504EDA
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1B5152

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

Preview Lab → · Contrast checker → · Palette generator →

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