#1F313D#1F313D

#1F313D is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.032 H 238.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1F313D
RGBrgb(31, 49, 61)
HSLhsl(204, 33%, 18%)
HSVhsv(204, 49%, 24%)
CMYKcmyk(49.2%, 19.7%, 0%, 76.1%)
CIE-LABlab(19.33, -3.47, -9.88)
CIE-LCHlch(19.33, 10.47, 250.64°)
OKLaboklab(30.31% -0.0168 -0.0273)
OKLCHoklch(30.31% 0.032 238.4)
XYZxyz(2.5054, 2.8247, 4.8272)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F313D #3D2B1F
analogous
#1F3D3A #1F313D #1F223D
triadic
#1F313D #3D1F31 #313D1F
tetradic
#1F313D #3A1F3D #3D2B1F #223D1F
square
#1F313D #3A1F3D #3D2B1F #223D1F
split-complementary
#1F313D #3D1F22 #3D3A1F
monochromatic
#0A1014 #0A1014 #1F313D #345266 #48728E

Accessibility & contrast

On white

13.42
#1F313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1F313D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F313D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F313D#FFFFFF#000000##FFFFFF
##1F313D1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C313E
Deuteranopia (green-blind)
#282D3D
Tritanopia (blue-blind)
#133435
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1f313d;
/* rgb */ color: rgb(31, 49, 61);
/* oklch */ color: oklch(30.3% 0.032 238.4);
Tailwind
colors: {
  custom: {
    50: '#5c6972',
    500: '#1f313d',
    950: '#000000',
  },
}
SCSS
$custom: #1f313d;
$custom-light: #5c6972;
$custom-dark: #000000;
JSON
{
  "hex": "#1f313d",
  "rgb": {
    "r": 31,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 204,
    "s": 32.609,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30308,
    "c": 0.03208,
    "h": 238.4
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#1F313D
secondary
#715847
accent
#895FC9
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#040608
muted
#797A7B

Preview Lab

Preview with #1F313D

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

Preview Lab → · Contrast checker → · Palette generator →

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