#081427#081427

#081427 is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.2% C 0.042 H 259.1°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#081427
RGBrgb(8, 20, 39)
HSLhsl(217, 66%, 9%)
HSVhsv(217, 79%, 15%)
CMYKcmyk(79.5%, 48.7%, 0%, 84.7%)
CIE-LABlab(6.31, 2.15, -14.45)
CIE-LCHlch(6.31, 14.61, 278.48°)
OKLaboklab(19.18% -0.0081 -0.0417)
OKLCHoklch(19.18% 0.042 259.1)
XYZxyz(0.7164, 0.6984, 2.0161)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081427 #271B08
analogous
#082427 #081427 #0C0827
triadic
#081427 #270814 #142708
tetradic
#081427 #270824 #271B08 #08270C
square
#081427 #270824 #271B08 #08270C
split-complementary
#081427 #270C08 #242708
monochromatic
#050D19 #050D19 #081427 #122E5A #1D488D

Accessibility & contrast

On white

18.43
#081427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#081427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081427
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081427#FFFFFF#000000##FFFFFF
##0814271.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1628
Deuteranopia (green-blind)
#081327
Tritanopia (blue-blind)
#00181B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #081427;
/* rgb */ color: rgb(8, 20, 39);
/* oklch */ color: oklch(19.2% 0.042 259.1);
Tailwind
colors: {
  custom: {
    50: '#4b5161',
    500: '#081427',
    950: '#000000',
  },
}
SCSS
$custom: #081427;
$custom-light: #4b5161;
$custom-dark: #000000;
JSON
{
  "hex": "#081427",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 216.774,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19184,
    "c": 0.04249,
    "h": 259.1
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#081427
secondary
#654D25
accent
#A73FE9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #081427

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

Preview Lab → · Contrast checker → · Palette generator →

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