#1F413F#1F413F

#1F413F is a dark, muted teal. Relative luminance 0.044; OKLCH L 34.9% C 0.040 H 190.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1F413F
RGBrgb(31, 65, 63)
HSLhsl(176, 35%, 19%)
HSVhsv(176, 52%, 25%)
CMYKcmyk(52.3%, 0%, 3.1%, 74.5%)
CIE-LABlab(25.05, -12.95, -2.62)
CIE-LCHlch(25.05, 13.22, 191.44°)
OKLaboklab(34.9% -0.0393 -0.0073)
OKLCHoklch(34.9% 0.04 190.5)
XYZxyz(3.3522, 4.4305, 5.3802)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F413F #411F21
analogous
#1F412E #1F413F #1F3241
triadic
#1F413F #3F1F41 #413F1F
tetradic
#1F413F #2E1F41 #411F21 #32411F
square
#1F413F #2E1F41 #411F21 #32411F
split-complementary
#1F413F #411F32 #412E1F
monochromatic
#0A1514 #0B1817 #1F413F #336A67 #47948F

Accessibility & contrast

On white

11.13
#1F413F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F413F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F413F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F413F#FFFFFF#000000##FFFFFF
##1F413F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3F
Deuteranopia (green-blind)
#383A3F
Tritanopia (blue-blind)
#0E4340
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f413f;
/* rgb */ color: rgb(31, 65, 63);
/* oklch */ color: oklch(34.9% 0.040 190.5);
Tailwind
colors: {
  custom: {
    50: '#5e7574',
    500: '#1f413f',
    950: '#000000',
  },
}
SCSS
$custom: #1f413f;
$custom-light: #5e7574;
$custom-dark: #000000;
JSON
{
  "hex": "#1f413f",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 63
  },
  "hsl": {
    "h": 176.471,
    "s": 35.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34902,
    "c": 0.03994,
    "h": 190.5
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#1F413F
secondary
#754749
accent
#5C63CB
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #1F413F

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

Preview Lab → · Contrast checker → · Palette generator →

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