#06171B#06171B

#06171B is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.2% C 0.025 H 214.7°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#06171B
RGBrgb(6, 23, 27)
HSLhsl(191, 64%, 6%)
HSVhsv(191, 78%, 11%)
CMYKcmyk(77.8%, 14.8%, 0%, 89.4%)
CIE-LABlab(6.60, -4.72, -4.88)
CIE-LCHlch(6.60, 6.79, 225.99°)
OKLaboklab(19.18% -0.0202 -0.014)
OKLCHoklch(19.18% 0.025 214.7)
XYZxyz(0.5793, 0.7306, 1.1472)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06171B #1B0A06
analogous
#061B15 #06171B #060D1B
triadic
#06171B #1B0617 #171B06
tetradic
#06171B #15061B #1B0A06 #0D1B06
square
#06171B #15061B #1B0A06 #0D1B06
split-complementary
#06171B #1B060D #1B1506
monochromatic
#061519 #061519 #06171B #11424D #1C6C7F

Accessibility & contrast

On white

18.32
#06171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#06171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06171B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06171B#FFFFFF#000000##FFFFFF
##06171B1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14161B
Deuteranopia (green-blind)
#11141B
Tritanopia (blue-blind)
#001918
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #06171b;
/* rgb */ color: rgb(6, 23, 27);
/* oklch */ color: oklch(19.2% 0.025 214.7);
Tailwind
colors: {
  custom: {
    50: '#495357',
    500: '#06171b',
    950: '#000000',
  },
}
SCSS
$custom: #06171b;
$custom-light: #495357;
$custom-dark: #000000;
JSON
{
  "hex": "#06171b",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 191.429,
    "s": 63.636,
    "l": 6.471
  },
  "oklch": {
    "l": 0.19181,
    "c": 0.02454,
    "h": 214.7
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#06171B
secondary
#5A2D23
accent
#6141E7
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #06171B

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

Preview Lab → · Contrast checker → · Palette generator →

#06171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva