#1F4E56#1F4E56

#1F4E56 is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.5% C 0.052 H 210.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1F4E56
RGBrgb(31, 78, 86)
HSLhsl(189, 47%, 23%)
HSVhsv(189, 64%, 34%)
CMYKcmyk(64%, 9.3%, 0%, 66.3%)
CIE-LABlab(30.43, -13.17, -9.51)
CIE-LCHlch(30.43, 16.24, 215.85°)
OKLaboklab(39.51% -0.0451 -0.0264)
OKLCHoklch(39.51% 0.052 210.3)
XYZxyz(4.9685, 6.4115, 9.7780)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E56 #56271F
analogous
#1F5642 #1F4E56 #1F3256
triadic
#1F4E56 #561F4E #4E561F
tetradic
#1F4E56 #421F56 #56271F #32561F
square
#1F4E56 #421F56 #56271F #32561F
split-complementary
#1F4E56 #561F32 #56421F
monochromatic
#081416 #0F2529 #1F4E56 #2F7783 #3FA0B0

Accessibility & contrast

On white

9.20
#1F4E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1F4E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E56
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E56#FFFFFF#000000##FFFFFF
##1F4E561.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#3F4556
Tritanopia (blue-blind)
#005250
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4e56;
/* rgb */ color: rgb(31, 78, 86);
/* oklch */ color: oklch(39.5% 0.052 210.3);
Tailwind
colors: {
  custom: {
    50: '#617f85',
    500: '#1f4e56',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e56;
$custom-light: #617f85;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e56",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 86
  },
  "hsl": {
    "h": 188.727,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.05225,
    "h": 210.3
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#1F4E56
secondary
#8B5046
accent
#6551D7
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#050A0B
muted
#7A7C7C

Preview Lab

Preview with #1F4E56

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

Preview Lab → · Contrast checker → · Palette generator →

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