#1B5A42#1B5A42

#1B5A42 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.076 H 164.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1B5A42
RGBrgb(27, 90, 66)
HSLhsl(157, 54%, 23%)
HSVhsv(157, 70%, 35%)
CMYKcmyk(70%, 0%, 26.7%, 64.7%)
CIE-LABlab(33.85, -26.41, 8.12)
CIE-LCHlch(33.85, 27.63, 162.90°)
OKLaboklab(42.05% -0.0728 0.0208)
OKLCHoklch(42.05% 0.076 164.1)
XYZxyz(5.0910, 7.9381, 6.4171)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A42 #5A1B33
analogous
#1B5A22 #1B5A42 #1B525A
triadic
#1B5A42 #421B5A #5A421B
tetradic
#1B5A42 #221B5A #5A1B33 #525A1B
square
#1B5A42 #221B5A #5A1B33 #525A1B
split-complementary
#1B5A42 #5A1B52 #5A221B
monochromatic
#071811 #0D2B1F #1B5A42 #298965 #37B887

Accessibility & contrast

On white

8.12
#1B5A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1B5A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5A42
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A42#FFFFFF#000000##FFFFFF
##1B5A421.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585341
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5a42;
/* rgb */ color: rgb(27, 90, 66);
/* oklch */ color: oklch(42.0% 0.076 164.1);
Tailwind
colors: {
  custom: {
    50: '#608976',
    500: '#1b5a42',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a42;
$custom-light: #608976;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a42",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 157.143,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.07568,
    "h": 164.1
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#1B5A42
secondary
#90415F
accent
#4B82DD
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #1B5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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