#081027#081027

#081027 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.049 H 266.9°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#081027
RGBrgb(8, 16, 39)
HSLhsl(225, 66%, 9%)
HSVhsv(225, 79%, 15%)
CMYKcmyk(79.5%, 59%, 0%, 84.7%)
CIE-LABlab(5.14, 4.55, -16.28)
CIE-LCHlch(5.14, 16.90, 285.61°)
OKLaboklab(18.05% -0.0027 -0.0487)
OKLCHoklch(18.05% 0.049 266.9)
XYZxyz(0.6515, 0.5686, 1.9945)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081027 #271F08
analogous
#082027 #081027 #100827
triadic
#081027 #270810 #102708
tetradic
#081027 #270820 #271F08 #082710
square
#081027 #270820 #271F08 #082710
split-complementary
#081027 #271008 #202708
monochromatic
#050A19 #050A19 #081027 #12255A #1D3A8D

Accessibility & contrast

On white

18.85
#081027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081027
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081027#FFFFFF#000000##FFFFFF
##0810271.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051328
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #081027;
/* rgb */ color: rgb(8, 16, 39);
/* oklch */ color: oklch(18.1% 0.049 266.9);
Tailwind
colors: {
  custom: {
    50: '#4b4e61',
    500: '#081027',
    950: '#000000',
  },
}
SCSS
$custom: #081027;
$custom-light: #4b4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#081027",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 224.516,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18052,
    "c": 0.04873,
    "h": 266.9
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#081027
secondary
#655525
accent
#BD3FE9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #081027

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

Preview Lab → · Contrast checker → · Palette generator →

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