#1B583C#1B583C

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

Color values

HEX#1B583C
RGBrgb(27, 88, 60)
HSLhsl(152, 53%, 23%)
HSVhsv(152, 69%, 35%)
CMYKcmyk(69.3%, 0%, 31.8%, 65.5%)
CIE-LABlab(33.00, -26.96, 10.65)
CIE-LCHlch(33.00, 28.98, 158.44°)
OKLaboklab(41.3% -0.0736 0.0271)
OKLCHoklch(41.3% 0.078 159.8)
XYZxyz(4.7569, 7.5382, 5.4784)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B583C #581B37
analogous
#1B581E #1B583C #1B5558
triadic
#1B583C #3C1B58 #583C1B
tetradic
#1B583C #1E1B58 #581B37 #55581B
square
#1B583C #1E1B58 #581B37 #55581B
split-complementary
#1B583C #581B55 #581E1B
monochromatic
#071710 #0D291C #1B583C #29875C #38B67C

Accessibility & contrast

On white

8.37
#1B583C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B583C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B583C#FFFFFF#000000##FFFFFF
##1B583C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b583c;
/* rgb */ color: rgb(27, 88, 60);
/* oklch */ color: oklch(41.3% 0.078 159.8);
Tailwind
colors: {
  custom: {
    50: '#5f8871',
    500: '#1b583c',
    950: '#000000',
  },
}
SCSS
$custom: #1b583c;
$custom-light: #5f8871;
$custom-dark: #000000;
JSON
{
  "hex": "#1b583c",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 60
  },
  "hsl": {
    "h": 152.459,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.07844,
    "h": 159.8
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#1B583C
secondary
#8E4164
accent
#4B8EDC
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1B583C

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

Preview Lab → · Contrast checker → · Palette generator →

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