#1B504D#1B504D

#1B504D is a dark, muted teal. Relative luminance 0.065; OKLCH L 39.5% C 0.056 H 189.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1B504D
RGBrgb(27, 80, 77)
HSLhsl(177, 50%, 21%)
HSVhsv(177, 66%, 31%)
CMYKcmyk(66.3%, 0%, 3.7%, 68.6%)
CIE-LABlab(30.65, -18.10, -3.43)
CIE-LCHlch(30.65, 18.42, 190.74°)
OKLaboklab(39.55% -0.0547 -0.0096)
OKLCHoklch(39.55% 0.056 189.9)
XYZxyz(4.6596, 6.5057, 8.0299)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B504D #501B1E
analogous
#1B5032 #1B504D #1B3850
triadic
#1B504D #4D1B50 #504D1B
tetradic
#1B504D #321B50 #501B1E #38501B
square
#1B504D #321B50 #501B1E #38501B
split-complementary
#1B504D #501B38 #50321B
monochromatic
#081716 #0C2221 #1B504D #2A7E79 #3AACA5

Accessibility & contrast

On white

9.13
#1B504D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B504D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B504D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B504D#FFFFFF#000000##FFFFFF
##1B504D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4D
Deuteranopia (green-blind)
#43464E
Tritanopia (blue-blind)
#00524F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b504d;
/* rgb */ color: rgb(27, 80, 77);
/* oklch */ color: oklch(39.5% 0.056 189.9);
Tailwind
colors: {
  custom: {
    50: '#5f817e',
    500: '#1b504d',
    950: '#000000',
  },
}
SCSS
$custom: #1b504d;
$custom-light: #5f817e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b504d",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 77
  },
  "hsl": {
    "h": 176.604,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.05555,
    "h": 189.9
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#1B504D
secondary
#864145
accent
#4F57D9
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1B504D

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

Preview Lab → · Contrast checker → · Palette generator →

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