#01171F#01171F

#01171F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.1% C 0.034 H 223.6°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#01171F
RGBrgb(1, 23, 31)
HSLhsl(196, 94%, 6%)
HSVhsv(196, 97%, 12%)
CMYKcmyk(96.8%, 25.8%, 0%, 87.8%)
CIE-LABlab(6.49, -4.77, -8.14)
CIE-LCHlch(6.49, 9.43, 239.63°)
OKLaboklab(19.05% -0.0246 -0.0234)
OKLCHoklch(19.05% 0.034 223.6)
XYZxyz(0.5661, 0.7181, 1.4048)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01171F #1F0901
analogous
#011F18 #01171F #01081F
triadic
#01171F #1F0117 #171F01
tetradic
#01171F #18011F #1F0901 #081F01
square
#01171F #18011F #1F0901 #081F01
split-complementary
#01171F #1F0108 #1F1801
monochromatic
#01161E #01161E #01171F #03435A #056F96

Accessibility & contrast

On white

18.36
#01171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#01171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01171F
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01171F#FFFFFF#000000##FFFFFF
##01171F1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12161F
Deuteranopia (green-blind)
#0E131F
Tritanopia (blue-blind)
#00191A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #01171f;
/* rgb */ color: rgb(1, 23, 31);
/* oklch */ color: oklch(19.1% 0.034 223.6);
Tailwind
colors: {
  custom: {
    50: '#46535a',
    500: '#01171f',
    950: '#000000',
  },
}
SCSS
$custom: #01171f;
$custom-light: #46535a;
$custom-dark: #000000;
JSON
{
  "hex": "#01171f",
  "rgb": {
    "r": 1,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 196,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.1905,
    "c": 0.03392,
    "h": 223.6
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#01171F
secondary
#672B15
accent
#6229FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #01171F

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

Preview Lab → · Contrast checker → · Palette generator →

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