#01071B#01071B

#01071B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.5% C 0.047 H 260.9°. Best body text is #FFFFFF at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#01071B
RGBrgb(1, 7, 27)
HSLhsl(226, 93%, 5%)
HSVhsv(226, 96%, 11%)
CMYKcmyk(96.3%, 74.1%, 0%, 89.4%)
CIE-LABlab(2.15, 2.48, -11.52)
CIE-LCHlch(2.15, 11.78, 282.15°)
OKLaboklab(13.53% -0.0075 -0.0465)
OKLCHoklch(13.53% 0.047 260.9)
XYZxyz(0.2863, 0.2375, 1.0675)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01071B #1B1501
analogous
#01141B #01071B #08011B
triadic
#01071B #1B0107 #071B01
tetradic
#01071B #1B0114 #1B1501 #011B08
square
#01071B #1B0114 #1B1501 #011B08
split-complementary
#01071B #1B0801 #141B01
monochromatic
#01081E #01081E #01081E #031656 #052691

Accessibility & contrast

On white

20.05
#01071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#01071B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01071B
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01071B#FFFFFF#000000##FFFFFF
##01071B1.0020.051.0520.05
#FFFFFF20.051.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091C
Deuteranopia (green-blind)
#00071B
Tritanopia (blue-blind)
#000C0F
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #01071b;
/* rgb */ color: rgb(1, 7, 27);
/* oklch */ color: oklch(13.5% 0.047 260.9);
Tailwind
colors: {
  custom: {
    50: '#464a57',
    500: '#01071b',
    950: '#000000',
  },
}
SCSS
$custom: #01071b;
$custom-light: #464a57;
$custom-dark: #000000;
JSON
{
  "hex": "#01071b",
  "rgb": {
    "r": 1,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 226.154,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.13528,
    "c": 0.0471,
    "h": 260.9
  },
  "luminance": 0.00238
}

Semantic roles & 50–950 ramp

primary
#01071B
secondary
#635115
accent
#CE29FF
background
#F3F4F5
surface
#E5E7E9
border
#C1C3C5
text
#000103
muted
#767778

Preview Lab

Preview with #01071B

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

Preview Lab → · Contrast checker → · Palette generator →

#01071B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva