#1F583E#1F583E

#1F583E is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.5% C 0.074 H 160.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1F583E
RGBrgb(31, 88, 62)
HSLhsl(153, 48%, 23%)
HSVhsv(153, 65%, 35%)
CMYKcmyk(64.8%, 0%, 29.5%, 65.5%)
CIE-LABlab(33.17, -25.57, 9.67)
CIE-LCHlch(33.17, 27.34, 159.28°)
OKLaboklab(41.5% -0.0701 0.0246)
OKLCHoklch(41.5% 0.074 160.6)
XYZxyz(4.9238, 7.6181, 5.7674)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F583E #581F39
analogous
#1F5822 #1F583E #1F5558
triadic
#1F583E #3E1F58 #583E1F
tetradic
#1F583E #221F58 #581F39 #55581F
square
#1F583E #221F58 #581F39 #55581F
split-complementary
#1F583E #581F55 #58221F
monochromatic
#081710 #0F2B1E #1F583E #2F855E #3FB37E

Accessibility & contrast

On white

8.32
#1F583E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1F583E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F583E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F583E#FFFFFF#000000##FFFFFF
##1F583E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f583e;
/* rgb */ color: rgb(31, 88, 62);
/* oklch */ color: oklch(41.5% 0.074 160.6);
Tailwind
colors: {
  custom: {
    50: '#618773',
    500: '#1f583e',
    950: '#000000',
  },
}
SCSS
$custom: #1f583e;
$custom-light: #618773;
$custom-dark: #000000;
JSON
{
  "hex": "#1f583e",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 62
  },
  "hsl": {
    "h": 152.632,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.07429,
    "h": 160.6
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#1F583E
secondary
#8D4666
accent
#508ED7
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B08
muted
#7A7C7B

Preview Lab

Preview with #1F583E

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

Preview Lab → · Contrast checker → · Palette generator →

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