#081728#081728

#081728 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.040 H 252.8°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#081728
RGBrgb(8, 23, 40)
HSLhsl(212, 67%, 9%)
HSVhsv(212, 80%, 16%)
CMYKcmyk(80%, 42.5%, 0%, 84.3%)
CIE-LABlab(7.38, 0.51, -13.51)
CIE-LCHlch(7.38, 13.52, 272.15°)
OKLaboklab(20.14% -0.0119 -0.0383)
OKLCHoklch(20.14% 0.04 252.8)
XYZxyz(0.7894, 0.8175, 2.1233)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081728 #281908
analogous
#082728 #081728 #090828
triadic
#081728 #280817 #172808
tetradic
#081728 #280827 #281908 #082809
square
#081728 #280827 #281908 #082809
split-complementary
#081728 #280908 #272808
monochromatic
#050F1A #050F1A #081728 #12345B #1C528E

Accessibility & contrast

On white

18.05
#081728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#081728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081728
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081728#FFFFFF#000000##FFFFFF
##0817281.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101829
Deuteranopia (green-blind)
#0B1528
Tritanopia (blue-blind)
#001B1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #081728;
/* rgb */ color: rgb(8, 23, 40);
/* oklch */ color: oklch(20.1% 0.040 252.8);
Tailwind
colors: {
  custom: {
    50: '#4b5362',
    500: '#081728',
    950: '#000000',
  },
}
SCSS
$custom: #081728;
$custom-light: #4b5362;
$custom-dark: #000000;
JSON
{
  "hex": "#081728",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 211.875,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20138,
    "c": 0.04013,
    "h": 252.8
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#081728
secondary
#674825
accent
#993EEA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #081728

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

Preview Lab → · Contrast checker → · Palette generator →

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