#01172A#01172A

#01172A is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.8% C 0.049 H 246.0°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#01172A
RGBrgb(1, 23, 42)
HSLhsl(208, 95%, 8%)
HSVhsv(208, 98%, 16%)
CMYKcmyk(97.6%, 45.2%, 0%, 83.5%)
CIE-LABlab(7.10, -0.44, -15.48)
CIE-LCHlch(7.10, 15.48, 268.38°)
OKLaboklab(19.82% -0.0198 -0.0443)
OKLCHoklch(19.82% 0.049 246)
XYZxyz(0.7367, 0.7863, 2.3030)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01172A #2A1401
analogous
#012A28 #01172A #01022A
triadic
#01172A #2A0117 #172A01
tetradic
#01172A #28012A #2A1401 #022A01
square
#01172A #28012A #2A1401 #022A01
split-complementary
#01172A #2A0102 #2A2801
monochromatic
#01101E #01101E #01172A #023866 #0458A2

Accessibility & contrast

On white

18.15
#01172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#01172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01172A
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01172A#FFFFFF#000000##FFFFFF
##01172A1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182B
Deuteranopia (green-blind)
#07142A
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #01172a;
/* rgb */ color: rgb(1, 23, 42);
/* oklch */ color: oklch(19.8% 0.049 246.0);
Tailwind
colors: {
  custom: {
    50: '#485363',
    500: '#01172a',
    950: '#000000',
  },
}
SCSS
$custom: #01172a;
$custom-light: #485363;
$custom-dark: #000000;
JSON
{
  "hex": "#01172a",
  "rgb": {
    "r": 1,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 207.805,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19822,
    "c": 0.04855,
    "h": 246
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#01172A
secondary
#704016
accent
#8C29FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #01172A

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

Preview Lab → · Contrast checker → · Palette generator →

#01172A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva