#1F4E57#1F4E57

#1F4E57 is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.6% C 0.053 H 212.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1F4E57
RGBrgb(31, 78, 87)
HSLhsl(190, 47%, 23%)
HSVhsv(190, 64%, 34%)
CMYKcmyk(64.4%, 10.3%, 0%, 65.9%)
CIE-LABlab(30.47, -12.83, -10.10)
CIE-LCHlch(30.47, 16.32, 218.20°)
OKLaboklab(39.56% -0.0446 -0.028)
OKLCHoklch(39.56% 0.053 212.1)
XYZxyz(5.0091, 6.4277, 9.9917)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E57 #57281F
analogous
#1F5744 #1F4E57 #1F3257
triadic
#1F4E57 #571F4E #4E571F
tetradic
#1F4E57 #441F57 #57281F #32571F
square
#1F4E57 #441F57 #57281F #32571F
split-complementary
#1F4E57 #571F32 #57441F
monochromatic
#081417 #0F262A #1F4E57 #2F7684 #3F9FB1

Accessibility & contrast

On white

9.19
#1F4E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1F4E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E57
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E57#FFFFFF#000000##FFFFFF
##1F4E571.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B58
Deuteranopia (green-blind)
#3E4557
Tritanopia (blue-blind)
#005251
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4e57;
/* rgb */ color: rgb(31, 78, 87);
/* oklch */ color: oklch(39.6% 0.053 212.1);
Tailwind
colors: {
  custom: {
    50: '#617f86',
    500: '#1f4e57',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e57;
$custom-light: #617f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e57",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 87
  },
  "hsl": {
    "h": 189.643,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.05268,
    "h": 212.1
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#1F4E57
secondary
#8C5146
accent
#6651D7
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#050A0B
muted
#7A7C7C

Preview Lab

Preview with #1F4E57

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

Preview Lab → · Contrast checker → · Palette generator →

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