#1F583D#1F583D

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

Color values

HEX#1F583D
RGBrgb(31, 88, 61)
HSLhsl(152, 48%, 23%)
HSVhsv(152, 65%, 35%)
CMYKcmyk(64.8%, 0%, 30.7%, 65.5%)
CIE-LABlab(33.15, -25.81, 10.26)
CIE-LCHlch(33.15, 27.77, 158.32°)
OKLaboklab(41.47% -0.0706 0.0261)
OKLCHoklch(41.47% 0.075 159.7)
XYZxyz(4.8967, 7.6072, 5.6243)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F583D #581F3A
analogous
#1F5820 #1F583D #1F5658
triadic
#1F583D #3D1F58 #583D1F
tetradic
#1F583D #201F58 #581F3A #56581F
square
#1F583D #201F58 #581F3A #56581F
split-complementary
#1F583D #581F56 #58201F
monochromatic
#081710 #0F2B1E #1F583D #2F855C #3FB37C

Accessibility & contrast

On white

8.33
#1F583D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F583D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F583D#FFFFFF#000000##FFFFFF
##1F583D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57513B
Deuteranopia (green-blind)
#4F4C3F
Tritanopia (blue-blind)
#055851
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f583d;
/* rgb */ color: rgb(31, 88, 61);
/* oklch */ color: oklch(41.5% 0.075 159.7);
Tailwind
colors: {
  custom: {
    50: '#618772',
    500: '#1f583d',
    950: '#000000',
  },
}
SCSS
$custom: #1f583d;
$custom-light: #618772;
$custom-dark: #000000;
JSON
{
  "hex": "#1f583d",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 61
  },
  "hsl": {
    "h": 151.579,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.0753,
    "h": 159.7
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#1F583D
secondary
#8D4668
accent
#5090D7
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B08
muted
#7A7C7B

Preview Lab

Preview with #1F583D

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

Preview Lab → · Contrast checker → · Palette generator →

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