#01081F#01081F

#01081F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.3% C 0.052 H 261.2°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#01081F
RGBrgb(1, 8, 31)
HSLhsl(226, 94%, 6%)
HSVhsv(226, 97%, 12%)
CMYKcmyk(96.8%, 74.2%, 0%, 87.8%)
CIE-LABlab(2.52, 3.34, -14.15)
CIE-LCHlch(2.52, 14.54, 283.26°)
OKLaboklab(14.3% -0.008 -0.0518)
OKLCHoklch(14.3% 0.052 261.2)
XYZxyz(0.3466, 0.2790, 1.3316)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01081F #1F1801
analogous
#01171F #01081F #09011F
triadic
#01081F #1F0108 #081F01
tetradic
#01081F #1F0117 #1F1801 #011F09
square
#01081F #1F0117 #1F1801 #011F09
split-complementary
#01081F #1F0901 #171F01
monochromatic
#01081E #01081E #01081F #03175A #052796

Accessibility & contrast

On white

19.89
#01081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#01081F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01081F
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01081F#FFFFFF#000000##FFFFFF
##01081F1.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#00081F
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #01081f;
/* rgb */ color: rgb(1, 8, 31);
/* oklch */ color: oklch(14.3% 0.052 261.2);
Tailwind
colors: {
  custom: {
    50: '#464a5a',
    500: '#01081f',
    950: '#000000',
  },
}
SCSS
$custom: #01081f;
$custom-light: #464a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#01081f",
  "rgb": {
    "r": 1,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 226,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.14304,
    "c": 0.05238,
    "h": 261.2
  },
  "luminance": 0.00279
}

Semantic roles & 50–950 ramp

primary
#01081F
secondary
#675415
accent
#CD29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #01081F

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

Preview Lab → · Contrast checker → · Palette generator →

#01081F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva