#081731#081731

#081731 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.8% C 0.056 H 260.5°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#081731
RGBrgb(8, 23, 49)
HSLhsl(218, 72%, 11%)
HSVhsv(218, 84%, 19%)
CMYKcmyk(83.7%, 53.1%, 0%, 80.8%)
CIE-LABlab(8.00, 4.64, -19.19)
CIE-LCHlch(8.00, 19.74, 283.59°)
OKLaboklab(20.84% -0.0092 -0.0549)
OKLCHoklch(20.84% 0.056 260.5)
XYZxyz(0.9607, 0.8861, 3.0255)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081731 #312208
analogous
#082B31 #081731 #0D0831
triadic
#081731 #310817 #173108
tetradic
#081731 #31082B #312208 #08310D
square
#081731 #31082B #312208 #08310D
split-complementary
#081731 #310D08 #2B3108
monochromatic
#040C1A #040C1A #081731 #113066 #19489A

Accessibility & contrast

On white

17.84
#081731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#081731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081731
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081731#FFFFFF#000000##FFFFFF
##0817311.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A32
Deuteranopia (green-blind)
#041630
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081731;
/* rgb */ color: rgb(8, 23, 49);
/* oklch */ color: oklch(20.8% 0.056 260.5);
Tailwind
colors: {
  custom: {
    50: '#4d5369',
    500: '#081731',
    950: '#000000',
  },
}
SCSS
$custom: #081731;
$custom-light: #4d5369;
$custom-dark: #000000;
JSON
{
  "hex": "#081731",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 218.049,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20839,
    "c": 0.05566,
    "h": 260.5
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#081731
secondary
#705425
accent
#AC39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #081731

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

Preview Lab → · Contrast checker → · Palette generator →

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