#1F394A#1F394A

#1F394A is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.044 H 238.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1F394A
RGBrgb(31, 57, 74)
HSLhsl(204, 41%, 21%)
HSVhsv(204, 58%, 29%)
CMYKcmyk(58.1%, 23%, 0%, 71%)
CIE-LABlab(22.69, -4.27, -13.49)
CIE-LCHlch(22.69, 14.15, 252.44°)
OKLaboklab(33.17% -0.0229 -0.0376)
OKLCHoklch(33.17% 0.044 238.7)
XYZxyz(3.2638, 3.7117, 7.0217)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F394A #4A301F
analogous
#1F4A45 #1F394A #1F234A
triadic
#1F394A #4A1F39 #394A1F
tetradic
#1F394A #451F4A #4A301F #234A1F
square
#1F394A #451F4A #4A301F #234A1F
split-complementary
#1F394A #4A1F23 #4A451F
monochromatic
#091116 #0D181F #1F394A #315A75 #437BA0

Accessibility & contrast

On white

12.05
#1F394A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1F394A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F394A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F394A#FFFFFF#000000##FFFFFF
##1F394A1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394B
Deuteranopia (green-blind)
#2B344A
Tritanopia (blue-blind)
#063D3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f394a;
/* rgb */ color: rgb(31, 57, 74);
/* oklch */ color: oklch(33.2% 0.044 238.7);
Tailwind
colors: {
  custom: {
    50: '#5e6f7c',
    500: '#1f394a',
    950: '#000000',
  },
}
SCSS
$custom: #1f394a;
$custom-light: #5e6f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f394a",
  "rgb": {
    "r": 31,
    "g": 57,
    "b": 74
  },
  "hsl": {
    "h": 203.721,
    "s": 40.952,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.04401,
    "h": 238.7
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#1F394A
secondary
#7F5C46
accent
#8757D1
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#040709
muted
#797A7B

Preview Lab

Preview with #1F394A

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

Preview Lab → · Contrast checker → · Palette generator →

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