#01011C#01011C

#01011C is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.1% C 0.065 H 268.9°. Best body text is #FFFFFF at 20.54:1 contrast (WCAG AA passes).

Color values

HEX#01011C
RGBrgb(1, 1, 28)
HSLhsl(240, 93%, 6%)
HSVhsv(240, 96%, 11%)
CMYKcmyk(96.4%, 96.4%, 0%, 89%)
CIE-LABlab(1.01, 5.18, -14.01)
CIE-LCHlch(1.01, 14.93, 290.30°)
OKLaboklab(11.06% -0.0013 -0.0653)
OKLCHoklch(11.06% 0.065 268.9)
XYZxyz(0.2329, 0.1120, 1.1077)
Luminance0.0011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01011C #1C1C01
analogous
#010E1C #01011C #0E011C
triadic
#01011C #1C0101 #011C01
tetradic
#01011C #1C010E #1C1C01 #011C0E
square
#01011C #1C010E #1C1C01 #011C0E
split-complementary
#01011C #1C0E01 #0E1C01
monochromatic
#01011E #01011E #01011E #030357 #050592

Accessibility & contrast

On white

20.54
#01011C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#01011C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01011C
20.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01011C#FFFFFF#000000##FFFFFF
##01011C1.0020.541.0220.54
#FFFFFF20.541.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00051D
Deuteranopia (green-blind)
#00031B
Tritanopia (blue-blind)
#00060C
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #01011c;
/* rgb */ color: rgb(1, 1, 28);
/* oklch */ color: oklch(11.1% 0.065 268.9);
Tailwind
colors: {
  custom: {
    50: '#464757',
    500: '#01011c',
    950: '#000000',
  },
}
SCSS
$custom: #01011c;
$custom-light: #464757;
$custom-dark: #000000;
JSON
{
  "hex": "#01011c",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 28
  },
  "hsl": {
    "h": 240,
    "s": 93.103,
    "l": 5.686
  },
  "oklch": {
    "l": 0.11062,
    "c": 0.06534,
    "h": 268.9
  },
  "luminance": 0.00112
}

Semantic roles & 50–950 ramp

primary
#01011C
secondary
#646415
accent
#FF29FF
background
#F3F3F5
surface
#E5E5E9
border
#C1C1C5
text
#000003
muted
#767778

Preview Lab

Preview with #01011C

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

Preview Lab → · Contrast checker → · Palette generator →

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