#1F4E53#1F4E53

#1F4E53 is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.4% C 0.051 H 204.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#1F4E53
RGBrgb(31, 78, 83)
HSLhsl(186, 46%, 22%)
HSVhsv(186, 63%, 33%)
CMYKcmyk(62.7%, 6%, 0%, 67.5%)
CIE-LABlab(30.31, -14.17, -7.77)
CIE-LCHlch(30.31, 16.16, 208.73°)
OKLaboklab(39.38% -0.0465 -0.0215)
OKLCHoklch(39.38% 0.051 204.8)
XYZxyz(4.8502, 6.3641, 9.1547)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E53 #53241F
analogous
#1F533E #1F4E53 #1F3453
triadic
#1F4E53 #531F4E #4E531F
tetradic
#1F4E53 #3E1F53 #53241F #34531F
square
#1F4E53 #3E1F53 #53241F #34531F
split-complementary
#1F4E53 #531F34 #533E1F
monochromatic
#081516 #0E2426 #1F4E53 #307880 #40A2AC

Accessibility & contrast

On white

9.24
#1F4E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1F4E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E53
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E53#FFFFFF#000000##FFFFFF
##1F4E531.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#404553
Tritanopia (blue-blind)
#00514F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4e53;
/* rgb */ color: rgb(31, 78, 83);
/* oklch */ color: oklch(39.4% 0.051 204.8);
Tailwind
colors: {
  custom: {
    50: '#617f83',
    500: '#1f4e53',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e53;
$custom-light: #617f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e53",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 83
  },
  "hsl": {
    "h": 185.769,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.05126,
    "h": 204.8
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#1F4E53
secondary
#884C46
accent
#5F53D5
background
#F5F7F8
surface
#EAEEEF
border
#C6C9CA
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4E53

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

Preview Lab → · Contrast checker → · Palette generator →

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