#1B5F4E#1B5F4E

#1B5F4E is a dark, moderate teal. Relative luminance 0.090; OKLCH L 43.8% C 0.073 H 172.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1B5F4E
RGBrgb(27, 95, 78)
HSLhsl(165, 56%, 24%)
HSVhsv(165, 72%, 37%)
CMYKcmyk(71.6%, 0%, 17.9%, 62.7%)
CIE-LABlab(35.92, -25.61, 3.62)
CIE-LCHlch(35.92, 25.87, 171.95°)
OKLaboklab(43.84% -0.0723 0.0092)
OKLCHoklch(43.84% 0.073 172.8)
XYZxyz(5.9187, 8.9668, 8.6251)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F4E #5F1B2C
analogous
#1B5F2C #1B5F4E #1B4E5F
triadic
#1B5F4E #4E1B5F #5F4E1B
tetradic
#1B5F4E #2C1B5F #5F1B2C #4E5F1B
square
#1B5F4E #2C1B5F #5F1B2C #4E5F1B
split-complementary
#1B5F4E #5F1B4E #5F2C1B
monochromatic
#071814 #0D2F27 #1B5F4E #298F75 #36BE9C

Accessibility & contrast

On white

7.52
#1B5F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1B5F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5F4E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F4E#FFFFFF#000000##FFFFFF
##1B5F4E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594D
Deuteranopia (green-blind)
#52524F
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5f4e;
/* rgb */ color: rgb(27, 95, 78);
/* oklch */ color: oklch(43.8% 0.073 172.8);
Tailwind
colors: {
  custom: {
    50: '#618d7f',
    500: '#1b5f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f4e;
$custom-light: #618d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f4e",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 165,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.07286,
    "h": 172.8
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#1B5F4E
secondary
#954156
accent
#496EDF
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #1B5F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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