#1F545F#1F545F

#1F545F is a dark, muted cyan. Relative luminance 0.075; OKLCH L 41.6% C 0.058 H 213.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1F545F
RGBrgb(31, 84, 95)
HSLhsl(190, 51%, 25%)
HSVhsv(190, 67%, 37%)
CMYKcmyk(67.4%, 11.6%, 0%, 62.7%)
CIE-LABlab(32.83, -13.61, -11.59)
CIE-LCHlch(32.83, 17.88, 220.43°)
OKLaboklab(41.56% -0.0483 -0.0322)
OKLCHoklch(41.56% 0.058 213.7)
XYZxyz(5.8001, 7.4576, 11.9580)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F545F #5F2A1F
analogous
#1F5F4A #1F545F #1F345F
triadic
#1F545F #5F1F54 #545F1F
tetradic
#1F545F #4A1F5F #5F2A1F #345F1F
square
#1F545F #4A1F5F #5F2A1F #345F1F
split-complementary
#1F545F #5F1F34 #5F4A1F
monochromatic
#081417 #102B31 #1F545F #2E7D8D #3DA6BB

Accessibility & contrast

On white

8.43
#1F545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1F545F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F545F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F545F#FFFFFF#000000##FFFFFF
##1F545F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5160
Deuteranopia (green-blind)
#424A5F
Tritanopia (blue-blind)
#005857
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f545f;
/* rgb */ color: rgb(31, 84, 95);
/* oklch */ color: oklch(41.6% 0.058 213.7);
Tailwind
colors: {
  custom: {
    50: '#63848c',
    500: '#1f545f',
    950: '#000000',
  },
}
SCSS
$custom: #1f545f;
$custom-light: #63848c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f545f",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 190.313,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.05804,
    "h": 213.7
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#1F545F
secondary
#945346
accent
#664EDA
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060B0C
muted
#7A7C7D

Preview Lab

Preview with #1F545F

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

Preview Lab → · Contrast checker → · Palette generator →

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