#1A5152#1A5152

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

Color values

HEX#1A5152
RGBrgb(26, 81, 82)
HSLhsl(181, 52%, 21%)
HSVhsv(181, 68%, 32%)
CMYKcmyk(68.3%, 1.2%, 0%, 67.8%)
CIE-LABlab(31.14, -17.24, -5.90)
CIE-LCHlch(31.14, 18.22, 198.89°)
OKLaboklab(39.99% -0.054 -0.0163)
OKLCHoklch(39.99% 0.056 196.8)
XYZxyz(4.8908, 6.7131, 9.0190)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5152 #521B1A
analogous
#1A5237 #1A5152 #1A3552
triadic
#1A5152 #521A51 #51521A
tetradic
#1A5152 #371A52 #521B1A #35521A
square
#1A5152 #371A52 #521B1A #35521A
split-complementary
#1A5152 #521A35 #52371A
monochromatic
#071717 #0B2324 #1A5152 #297F80 #37ADAF

Accessibility & contrast

On white

8.96
#1A5152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1A5152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5152
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5152#FFFFFF#000000##FFFFFF
##1A51521.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.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: #1a5152;
/* rgb */ color: rgb(26, 81, 82);
/* oklch */ color: oklch(40.0% 0.056 196.8);
Tailwind
colors: {
  custom: {
    50: '#5f8282',
    500: '#1a5152',
    950: '#000000',
  },
}
SCSS
$custom: #1a5152;
$custom-light: #5f8282;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5152",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 181.071,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.05645,
    "h": 196.8
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#1A5152
secondary
#884140
accent
#4F4CDB
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1A5152

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

Preview Lab → · Contrast checker → · Palette generator →

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