#05181D#05181D

#05181D is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.5% C 0.027 H 217.0°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#05181D
RGBrgb(5, 24, 29)
HSLhsl(193, 71%, 7%)
HSVhsv(193, 83%, 11%)
CMYKcmyk(82.8%, 17.2%, 0%, 88.6%)
CIE-LABlab(6.99, -5.12, -5.83)
CIE-LCHlch(6.99, 7.75, 228.69°)
OKLaboklab(19.55% -0.0218 -0.0164)
OKLCHoklch(19.55% 0.027 217)
XYZxyz(0.6109, 0.7742, 1.2794)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05181D #1D0A05
analogous
#051D16 #05181D #050C1D
triadic
#05181D #1D0518 #181D05
tetradic
#05181D #16051D #1D0A05 #0C1D05
square
#05181D #16051D #1D0A05 #0C1D05
split-complementary
#05181D #1D050C #1D1605
monochromatic
#05161A #05161A #05181D #0E4351 #176E85

Accessibility & contrast

On white

18.18
#05181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#05181D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05181D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05181D#FFFFFF#000000##FFFFFF
##05181D1.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171D
Deuteranopia (green-blind)
#11141D
Tritanopia (blue-blind)
#001A1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05181d;
/* rgb */ color: rgb(5, 24, 29);
/* oklch */ color: oklch(19.5% 0.027 217.0);
Tailwind
colors: {
  custom: {
    50: '#485458',
    500: '#05181d',
    950: '#000000',
  },
}
SCSS
$custom: #05181d;
$custom-light: #485458;
$custom-dark: #000000;
JSON
{
  "hex": "#05181d",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 192.5,
    "s": 70.588,
    "l": 6.667
  },
  "oklch": {
    "l": 0.19547,
    "c": 0.02729,
    "h": 217
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#05181D
secondary
#5E2D20
accent
#603AED
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #05181D

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

Preview Lab → · Contrast checker → · Palette generator →

#05181D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva