#081218#081218

#081218 is a very dark, near-neutral cyan. Relative luminance 0.005; OKLCH L 17.6% C 0.019 H 235.4°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#081218
RGBrgb(8, 18, 24)
HSLhsl(203, 50%, 6%)
HSVhsv(203, 67%, 9%)
CMYKcmyk(66.7%, 25%, 0%, 90.6%)
CIE-LABlab(4.97, -1.71, -4.95)
CIE-LCHlch(4.97, 5.23, 250.97°)
OKLaboklab(17.55% -0.0111 -0.016)
OKLCHoklch(17.55% 0.019 235.4)
XYZxyz(0.4813, 0.5502, 0.9448)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081218 #180E08
analogous
#081816 #081218 #080A18
triadic
#081218 #180812 #121808
tetradic
#081218 #160818 #180E08 #0A1808
square
#081218 #160818 #180E08 #0A1808
split-complementary
#081218 #18080A #181608
monochromatic
#081117 #081117 #081218 #173446 #275774

Accessibility & contrast

On white

18.92
#081218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#081218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081218
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081218#FFFFFF#000000##FFFFFF
##0812181.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1218
Deuteranopia (green-blind)
#0D1018
Tritanopia (blue-blind)
#031414
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #081218;
/* rgb */ color: rgb(8, 18, 24);
/* oklch */ color: oklch(17.6% 0.019 235.4);
Tailwind
colors: {
  custom: {
    50: '#4a5054',
    500: '#081218',
    950: '#000000',
  },
}
SCSS
$custom: #081218;
$custom-light: #4a5054;
$custom-dark: #000000;
JSON
{
  "hex": "#081218",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 202.5,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.17553,
    "c": 0.01948,
    "h": 235.4
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#081218
secondary
#543828
accent
#824EDA
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010202
muted
#777878

Preview Lab

Preview with #081218

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

Preview Lab → · Contrast checker → · Palette generator →

#081218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva