#1F3545#1F3545

#1F3545 is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.8% C 0.040 H 241.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1F3545
RGBrgb(31, 53, 69)
HSLhsl(205, 38%, 20%)
HSVhsv(205, 55%, 27%)
CMYKcmyk(55.1%, 23.2%, 0%, 72.9%)
CIE-LABlab(21.08, -3.39, -12.62)
CIE-LCHlch(21.08, 13.06, 254.98°)
OKLaboklab(31.82% -0.0193 -0.0351)
OKLCHoklch(31.82% 0.04 241.2)
XYZxyz(2.9120, 3.2670, 6.1062)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3545 #452F1F
analogous
#1F4542 #1F3545 #1F2245
triadic
#1F3545 #451F35 #35451F
tetradic
#1F3545 #421F45 #452F1F #22451F
square
#1F3545 #421F45 #452F1F #22451F
split-complementary
#1F3545 #451F22 #45421F
monochromatic
#091015 #0C151B #1F3545 #32556F #457699

Accessibility & contrast

On white

12.70
#1F3545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1F3545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3545
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3545#FFFFFF#000000##FFFFFF
##1F35451.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3546
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#0C393A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1f3545;
/* rgb */ color: rgb(31, 53, 69);
/* oklch */ color: oklch(31.8% 0.040 241.2);
Tailwind
colors: {
  custom: {
    50: '#5d6c78',
    500: '#1f3545',
    950: '#000000',
  },
}
SCSS
$custom: #1f3545;
$custom-light: #5d6c78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3545",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 69
  },
  "hsl": {
    "h": 205.263,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.04007,
    "h": 241.2
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#1F3545
secondary
#795C46
accent
#8B5ACE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040609
muted
#797A7B

Preview Lab

Preview with #1F3545

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

Preview Lab → · Contrast checker → · Palette generator →

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