#1A5740#1A5740

#1A5740 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 41.1% C 0.074 H 164.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1A5740
RGBrgb(26, 87, 64)
HSLhsl(157, 54%, 22%)
HSVhsv(157, 70%, 34%)
CMYKcmyk(70.1%, 0%, 26.4%, 65.9%)
CIE-LABlab(32.71, -25.68, 7.76)
CIE-LCHlch(32.71, 26.83, 163.18°)
OKLaboklab(41.09% -0.0708 0.0198)
OKLCHoklch(41.09% 0.074 164.3)
XYZxyz(4.7591, 7.4057, 6.0281)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5740 #571A31
analogous
#1A5722 #1A5740 #1A5057
triadic
#1A5740 #401A57 #57401A
tetradic
#1A5740 #221A57 #571A31 #50571A
square
#1A5740 #221A57 #571A31 #50571A
split-complementary
#1A5740 #571A50 #57221A
monochromatic
#071811 #0C281D #1A5740 #288663 #36B585

Accessibility & contrast

On white

8.46
#1A5740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1A5740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5740
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5740#FFFFFF#000000##FFFFFF
##1A57401.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503F
Deuteranopia (green-blind)
#4D4B41
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a5740;
/* rgb */ color: rgb(26, 87, 64);
/* oklch */ color: oklch(41.1% 0.074 164.3);
Tailwind
colors: {
  custom: {
    50: '#5f8774',
    500: '#1a5740',
    950: '#000000',
  },
}
SCSS
$custom: #1a5740;
$custom-light: #5f8774;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5740",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 157.377,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.07355,
    "h": 164.3
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#1A5740
secondary
#8D405D
accent
#4A82DD
background
#F5F8F7
surface
#EAEFED
border
#C6CAC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #1A5740

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

Preview Lab → · Contrast checker → · Palette generator →

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