#05171A#05171A

#05171A is a very dark, muted teal. Relative luminance 0.007; OKLCH L 19.1% C 0.025 H 209.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#05171A
RGBrgb(5, 23, 26)
HSLhsl(189, 68%, 6%)
HSVhsv(189, 81%, 10%)
CMYKcmyk(80.8%, 11.5%, 0%, 89.8%)
CIE-LABlab(6.50, -5.27, -4.27)
CIE-LCHlch(6.50, 6.78, 219.02°)
OKLaboklab(19.06% -0.022 -0.0123)
OKLCHoklch(19.06% 0.025 209.3)
XYZxyz(0.5554, 0.7196, 1.0867)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05171A #1A0805
analogous
#051A12 #05171A #050C1A
triadic
#05171A #1A0517 #171A05
tetradic
#05171A #12051A #1A0805 #0C1A05
square
#05171A #12051A #1A0805 #0C1A05
split-complementary
#05171A #1A050C #1A1205
monochromatic
#05171A #05171A #05171A #0F444D #197281

Accessibility & contrast

On white

18.36
#05171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05171A
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05171A#FFFFFF#000000##FFFFFF
##05171A1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05171a;
/* rgb */ color: rgb(5, 23, 26);
/* oklch */ color: oklch(19.1% 0.025 209.3);
Tailwind
colors: {
  custom: {
    50: '#485356',
    500: '#05171a',
    950: '#000000',
  },
}
SCSS
$custom: #05171a;
$custom-light: #485356;
$custom-dark: #000000;
JSON
{
  "hex": "#05171a",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 188.571,
    "s": 67.742,
    "l": 6.078
  },
  "oklch": {
    "l": 0.19055,
    "c": 0.02521,
    "h": 209.3
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#05171A
secondary
#5B2920
accent
#563DEB
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #05171A

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

Preview Lab → · Contrast checker → · Palette generator →

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