#1B583E#1B583E

#1B583E is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.4% C 0.076 H 161.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1B583E
RGBrgb(27, 88, 62)
HSLhsl(154, 53%, 23%)
HSVhsv(154, 69%, 35%)
CMYKcmyk(69.3%, 0%, 29.5%, 65.5%)
CIE-LABlab(33.05, -26.46, 9.48)
CIE-LCHlch(33.05, 28.11, 160.29°)
OKLaboklab(41.36% -0.0725 0.0242)
OKLCHoklch(41.36% 0.076 161.6)
XYZxyz(4.8107, 7.5598, 5.7621)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B583E #581B35
analogous
#1B581F #1B583E #1B5358
triadic
#1B583E #3E1B58 #583E1B
tetradic
#1B583E #1F1B58 #581B35 #53581B
square
#1B583E #1F1B58 #581B35 #53581B
split-complementary
#1B583E #581B53 #581F1B
monochromatic
#071710 #0D291D #1B583E #29875F #38B680

Accessibility & contrast

On white

8.36
#1B583E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B583E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B583E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B583E#FFFFFF#000000##FFFFFF
##1B583E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57513D
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#005851
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b583e;
/* rgb */ color: rgb(27, 88, 62);
/* oklch */ color: oklch(41.4% 0.076 161.6);
Tailwind
colors: {
  custom: {
    50: '#5f8873',
    500: '#1b583e',
    950: '#000000',
  },
}
SCSS
$custom: #1b583e;
$custom-light: #5f8873;
$custom-dark: #000000;
JSON
{
  "hex": "#1b583e",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 62
  },
  "hsl": {
    "h": 154.426,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.07645,
    "h": 161.6
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#1B583E
secondary
#8E4162
accent
#4B89DC
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050B08
muted
#797C7B

Preview Lab

Preview with #1B583E

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

Preview Lab → · Contrast checker → · Palette generator →

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