#1F4752#1F4752

#1F4752 is a dark, muted cyan. Relative luminance 0.054; OKLCH L 37.4% C 0.049 H 218.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1F4752
RGBrgb(31, 71, 82)
HSLhsl(193, 45%, 22%)
HSVhsv(193, 62%, 32%)
CMYKcmyk(62.2%, 13.4%, 0%, 67.8%)
CIE-LABlab(27.86, -10.34, -10.83)
CIE-LCHlch(27.86, 14.98, 226.32°)
OKLaboklab(37.4% -0.0381 -0.03)
OKLCHoklch(37.4% 0.049 218.3)
XYZxyz(4.3407, 5.4066, 8.7958)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4752 #522A1F
analogous
#1F5244 #1F4752 #1F2E52
triadic
#1F4752 #521F47 #47521F
tetradic
#1F4752 #441F52 #522A1F #2E521F
square
#1F4752 #441F52 #522A1F #2E521F
split-complementary
#1F4752 #521F2E #52441F
monochromatic
#081316 #0E2126 #1F4752 #306D7E #4194AB

Accessibility & contrast

On white

10.09
#1F4752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1F4752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4752
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4752#FFFFFF#000000##FFFFFF
##1F47521.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#383F52
Tritanopia (blue-blind)
#004B4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f4752;
/* rgb */ color: rgb(31, 71, 82);
/* oklch */ color: oklch(37.4% 0.049 218.3);
Tailwind
colors: {
  custom: {
    50: '#607a82',
    500: '#1f4752',
    950: '#000000',
  },
}
SCSS
$custom: #1f4752;
$custom-light: #607a82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4752",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 82
  },
  "hsl": {
    "h": 192.941,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.0485,
    "h": 218.3
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#1F4752
secondary
#875446
accent
#6F53D5
background
#F5F7F7
surface
#EAEDEE
border
#C6C8C9
text
#05090A
muted
#797B7C

Preview Lab

Preview with #1F4752

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

Preview Lab → · Contrast checker → · Palette generator →

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