#1A5145#1A5145

#1A5145 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.5% C 0.061 H 175.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#1A5145
RGBrgb(26, 81, 69)
HSLhsl(167, 51%, 21%)
HSVhsv(167, 68%, 32%)
CMYKcmyk(67.9%, 0%, 14.8%, 68.2%)
CIE-LABlab(30.72, -21.28, 1.77)
CIE-LCHlch(30.72, 21.35, 175.25°)
OKLaboklab(39.51% -0.0608 0.0044)
OKLCHoklch(39.51% 0.061 175.9)
XYZxyz(4.4421, 6.5337, 6.6561)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5145 #511A26
analogous
#1A5129 #1A5145 #1A4151
triadic
#1A5145 #451A51 #51451A
tetradic
#1A5145 #291A51 #511A26 #41511A
square
#1A5145 #291A51 #511A26 #41511A
split-complementary
#1A5145 #511A41 #51291A
monochromatic
#071714 #0B231E #1A5145 #297F6C #38AE94

Accessibility & contrast

On white

9.10
#1A5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1A5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5145
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5145#FFFFFF#000000##FFFFFF
##1A51451.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C44
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a5145;
/* rgb */ color: rgb(26, 81, 69);
/* oklch */ color: oklch(39.5% 0.061 175.9);
Tailwind
colors: {
  custom: {
    50: '#5e8278',
    500: '#1a5145',
    950: '#000000',
  },
}
SCSS
$custom: #1a5145;
$custom-light: #5e8278;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5145",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 166.909,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.06095,
    "h": 175.9
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#1A5145
secondary
#87404F
accent
#4D6CDB
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050A09
muted
#797C7B

Preview Lab

Preview with #1A5145

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

Preview Lab → · Contrast checker → · Palette generator →

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