#1F413D#1F413D

#1F413D is a dark, muted teal. Relative luminance 0.044; OKLCH L 34.8% C 0.041 H 185.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#1F413D
RGBrgb(31, 65, 61)
HSLhsl(173, 35%, 19%)
HSVhsv(173, 52%, 25%)
CMYKcmyk(52.3%, 0%, 6.2%, 74.5%)
CIE-LABlab(24.98, -13.56, -1.40)
CIE-LCHlch(24.98, 13.63, 185.89°)
OKLaboklab(34.83% -0.0403 -0.004)
OKLCHoklch(34.83% 0.041 185.6)
XYZxyz(3.2973, 4.4086, 5.0912)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F413D #411F23
analogous
#1F412C #1F413D #1F3441
triadic
#1F413D #3D1F41 #413D1F
tetradic
#1F413D #2C1F41 #411F23 #34411F
square
#1F413D #2C1F41 #411F23 #34411F
split-complementary
#1F413D #411F34 #412C1F
monochromatic
#0A1513 #0B1816 #1F413D #336A64 #47948B

Accessibility & contrast

On white

11.16
#1F413D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1F413D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F413D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F413D#FFFFFF#000000##FFFFFF
##1F413D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3D
Deuteranopia (green-blind)
#38393D
Tritanopia (blue-blind)
#0F4240
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f413d;
/* rgb */ color: rgb(31, 65, 61);
/* oklch */ color: oklch(34.8% 0.041 185.6);
Tailwind
colors: {
  custom: {
    50: '#5e7572',
    500: '#1f413d',
    950: '#000000',
  },
}
SCSS
$custom: #1f413d;
$custom-light: #5e7572;
$custom-dark: #000000;
JSON
{
  "hex": "#1f413d",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 61
  },
  "hsl": {
    "h": 172.941,
    "s": 35.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.04052,
    "h": 185.6
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#1F413D
secondary
#75474C
accent
#5C69CB
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#040808
muted
#797B7B

Preview Lab

Preview with #1F413D

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

Preview Lab → · Contrast checker → · Palette generator →

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