#1B583B#1B583B

#1B583B is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.3% C 0.079 H 159.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1B583B
RGBrgb(27, 88, 59)
HSLhsl(151, 53%, 23%)
HSVhsv(151, 69%, 35%)
CMYKcmyk(69.3%, 0%, 33%, 65.5%)
CIE-LABlab(32.98, -27.20, 11.24)
CIE-LCHlch(32.98, 29.43, 157.55°)
OKLaboklab(41.28% -0.0742 0.0285)
OKLCHoklch(41.28% 0.079 159)
XYZxyz(4.7307, 7.5277, 5.3405)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B583B #581B38
analogous
#1B581C #1B583B #1B5758
triadic
#1B583B #3B1B58 #583B1B
tetradic
#1B583B #1C1B58 #581B38 #57581B
square
#1B583B #1C1B58 #581B38 #57581B
split-complementary
#1B583B #581B57 #581C1B
monochromatic
#071710 #0D291C #1B583B #29875A #38B67A

Accessibility & contrast

On white

8.38
#1B583B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B583B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B583B#FFFFFF#000000##FFFFFF
##1B583B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575139
Deuteranopia (green-blind)
#4F4B3D
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b583b;
/* rgb */ color: rgb(27, 88, 59);
/* oklch */ color: oklch(41.3% 0.079 159.0);
Tailwind
colors: {
  custom: {
    50: '#5f8871',
    500: '#1b583b',
    950: '#000000',
  },
}
SCSS
$custom: #1b583b;
$custom-light: #5f8871;
$custom-dark: #000000;
JSON
{
  "hex": "#1b583b",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 59
  },
  "hsl": {
    "h": 151.475,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.07944,
    "h": 159
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#1B583B
secondary
#8E4166
accent
#4B90DC
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1B583B

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

Preview Lab → · Contrast checker → · Palette generator →

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