#01011F#01011F

#01011F is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.6% C 0.070 H 268.3°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#01011F
RGBrgb(1, 1, 31)
HSLhsl(240, 94%, 6%)
HSVhsv(240, 97%, 12%)
CMYKcmyk(96.8%, 96.8%, 0%, 87.8%)
CIE-LABlab(1.15, 6.14, -16.22)
CIE-LCHlch(1.15, 17.34, 290.72°)
OKLaboklab(11.57% -0.0021 -0.0698)
OKLCHoklch(11.57% 0.07 268.3)
XYZxyz(0.2706, 0.1271, 1.3063)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01011F #1F1F01
analogous
#01101F #01011F #10011F
triadic
#01011F #1F0101 #011F01
tetradic
#01011F #1F0110 #1F1F01 #011F10
square
#01011F #1F0110 #1F1F01 #011F10
split-complementary
#01011F #1F1001 #101F01
monochromatic
#01011E #01011E #01011F #03035A #050596

Accessibility & contrast

On white

20.48
#01011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#01011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01011F
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01011F#FFFFFF#000000##FFFFFF
##01011F1.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000520
Deuteranopia (green-blind)
#00031E
Tritanopia (blue-blind)
#00080E
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #01011f;
/* rgb */ color: rgb(1, 1, 31);
/* oklch */ color: oklch(11.6% 0.070 268.3);
Tailwind
colors: {
  custom: {
    50: '#46475a',
    500: '#01011f',
    950: '#000000',
  },
}
SCSS
$custom: #01011f;
$custom-light: #46475a;
$custom-dark: #000000;
JSON
{
  "hex": "#01011f",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 240,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.11566,
    "c": 0.06985,
    "h": 268.3
  },
  "luminance": 0.00127
}

Semantic roles & 50–950 ramp

primary
#01011F
secondary
#676715
accent
#FF29FF
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #01011F

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

Preview Lab → · Contrast checker → · Palette generator →

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