#05171B#05171B

#05171B is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.1% C 0.026 H 213.7°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#05171B
RGBrgb(5, 23, 27)
HSLhsl(191, 69%, 6%)
HSVhsv(191, 81%, 11%)
CMYKcmyk(81.5%, 14.8%, 0%, 89.4%)
CIE-LABlab(6.54, -4.98, -4.97)
CIE-LCHlch(6.54, 7.04, 224.98°)
OKLaboklab(19.11% -0.0214 -0.0143)
OKLCHoklch(19.11% 0.026 213.7)
XYZxyz(0.5667, 0.7241, 1.1466)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05171B #1B0905
analogous
#051B14 #05171B #050C1B
triadic
#05171B #1B0517 #171B05
tetradic
#05171B #14051B #1B0905 #0C1B05
square
#05171B #14051B #1B0905 #0C1B05
split-complementary
#05171B #1B050C #1B1405
monochromatic
#05161A #05161A #05171B #0F434F #186F82

Accessibility & contrast

On white

18.34
#05171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#05171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05171B
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05171B#FFFFFF#000000##FFFFFF
##05171B1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05171b;
/* rgb */ color: rgb(5, 23, 27);
/* oklch */ color: oklch(19.1% 0.026 213.7);
Tailwind
colors: {
  custom: {
    50: '#485357',
    500: '#05171b',
    950: '#000000',
  },
}
SCSS
$custom: #05171b;
$custom-light: #485357;
$custom-dark: #000000;
JSON
{
  "hex": "#05171b",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 190.909,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.19109,
    "c": 0.02575,
    "h": 213.7
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#05171B
secondary
#5C2B20
accent
#5C3CEC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #05171B

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

Preview Lab → · Contrast checker → · Palette generator →

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