#1F423D#1F423D

#1F423D is a dark, muted teal. Relative luminance 0.045; OKLCH L 35.1% C 0.042 H 183.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1F423D
RGBrgb(31, 66, 61)
HSLhsl(171, 36%, 19%)
HSVhsv(171, 53%, 26%)
CMYKcmyk(53%, 0%, 7.6%, 74.1%)
CIE-LABlab(25.33, -14.15, -0.88)
CIE-LCHlch(25.33, 14.17, 183.55°)
OKLaboklab(35.11% -0.0417 -0.0026)
OKLCHoklch(35.11% 0.042 183.5)
XYZxyz(3.3552, 4.5244, 5.1105)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F423D #421F24
analogous
#1F422C #1F423D #1F3642
triadic
#1F423D #3D1F42 #423D1F
tetradic
#1F423D #2C1F42 #421F24 #36421F
square
#1F423D #2C1F42 #421F24 #36421F
split-complementary
#1F423D #421F36 #422C1F
monochromatic
#0A1513 #0B1817 #1F423D #336C63 #46958A

Accessibility & contrast

On white

11.02
#1F423D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1F423D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F423D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F423D#FFFFFF#000000##FFFFFF
##1F423D1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F3D
Deuteranopia (green-blind)
#393A3D
Tritanopia (blue-blind)
#0F4340
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f423d;
/* rgb */ color: rgb(31, 66, 61);
/* oklch */ color: oklch(35.1% 0.042 183.5);
Tailwind
colors: {
  custom: {
    50: '#5e7672',
    500: '#1f423d',
    950: '#000000',
  },
}
SCSS
$custom: #1f423d;
$custom-light: #5e7672;
$custom-dark: #000000;
JSON
{
  "hex": "#1f423d",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 61
  },
  "hsl": {
    "h": 171.429,
    "s": 36.082,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.0418,
    "h": 183.5
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#1F423D
secondary
#76474D
accent
#5C6CCC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#040808
muted
#797B7B

Preview Lab

Preview with #1F423D

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

Preview Lab → · Contrast checker → · Palette generator →

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