#1F4E52#1F4E52

#1F4E52 is a dark, muted teal. Relative luminance 0.063; OKLCH L 39.3% C 0.051 H 202.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1F4E52
RGBrgb(31, 78, 82)
HSLhsl(185, 45%, 22%)
HSVhsv(185, 62%, 32%)
CMYKcmyk(62.2%, 4.9%, 0%, 67.8%)
CIE-LABlab(30.28, -14.50, -7.18)
CIE-LCHlch(30.28, 16.18, 206.35°)
OKLaboklab(39.34% -0.047 -0.0199)
OKLCHoklch(39.34% 0.051 202.9)
XYZxyz(4.8118, 6.3488, 8.9529)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E52 #52231F
analogous
#1F523D #1F4E52 #1F3552
triadic
#1F4E52 #521F4E #4E521F
tetradic
#1F4E52 #3D1F52 #52231F #35521F
square
#1F4E52 #3D1F52 #52231F #35521F
split-complementary
#1F4E52 #521F35 #523D1F
monochromatic
#081516 #0E2426 #1F4E52 #30787E #41A2AB

Accessibility & contrast

On white

9.25
#1F4E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E52
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E52#FFFFFF#000000##FFFFFF
##1F4E521.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4e52;
/* rgb */ color: rgb(31, 78, 82);
/* oklch */ color: oklch(39.3% 0.051 202.9);
Tailwind
colors: {
  custom: {
    50: '#617f82',
    500: '#1f4e52',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e52;
$custom-light: #617f82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e52",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 184.706,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.05104,
    "h": 202.9
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#1F4E52
secondary
#874B46
accent
#5D53D5
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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