#1F5A4E#1F5A4E

#1F5A4E is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.6% C 0.064 H 177.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1F5A4E
RGBrgb(31, 90, 78)
HSLhsl(168, 49%, 24%)
HSVhsv(168, 66%, 35%)
CMYKcmyk(65.6%, 0%, 13.3%, 64.7%)
CIE-LABlab(34.30, -22.30, 1.30)
CIE-LCHlch(34.30, 22.34, 176.67°)
OKLaboklab(42.56% -0.064 0.0031)
OKLCHoklch(42.56% 0.064 177.2)
XYZxyz(5.5957, 8.1531, 8.4851)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A4E #5A1F2B
analogous
#1F5A30 #1F5A4E #1F485A
triadic
#1F5A4E #4E1F5A #5A4E1F
tetradic
#1F5A4E #301F5A #5A1F2B #485A1F
square
#1F5A4E #301F5A #5A1F2B #485A1F
split-complementary
#1F5A4E #5A1F48 #5A301F
monochromatic
#081714 #0F2C27 #1F5A4E #2F8875 #3EB59D

Accessibility & contrast

On white

7.98
#1F5A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A4E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A4E#FFFFFF#000000##FFFFFF
##1F5A4E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544D
Deuteranopia (green-blind)
#4E4E4F
Tritanopia (blue-blind)
#005B56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5a4e;
/* rgb */ color: rgb(31, 90, 78);
/* oklch */ color: oklch(42.6% 0.064 177.2);
Tailwind
colors: {
  custom: {
    50: '#62897f',
    500: '#1f5a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a4e;
$custom-light: #62897f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a4e",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 167.797,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.06409,
    "h": 177.2
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#1F5A4E
secondary
#8F4655
accent
#4F6BD8
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#050B0A
muted
#7A7C7C

Preview Lab

Preview with #1F5A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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