#01172D#01172D

#01172D is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.053 H 249.4°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#01172D
RGBrgb(1, 23, 45)
HSLhsl(210, 96%, 9%)
HSVhsv(210, 98%, 18%)
CMYKcmyk(97.8%, 48.9%, 0%, 82.4%)
CIE-LABlab(7.30, 0.98, -17.39)
CIE-LCHlch(7.30, 17.41, 273.22°)
OKLaboklab(20.06% -0.0188 -0.0499)
OKLCHoklch(20.06% 0.053 249.4)
XYZxyz(0.7924, 0.8086, 2.5964)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01172D #2D1701
analogous
#012D2D #01172D #01012D
triadic
#01172D #2D0117 #172D01
tetradic
#01172D #2D012D #2D1701 #012D01
square
#01172D #2D012D #2D1701 #012D01
split-complementary
#01172D #2D0101 #2D2D01
monochromatic
#010F1E #010F1E #01172D #023669 #0454A5

Accessibility & contrast

On white

18.08
#01172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01172D
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01172D#FFFFFF#000000##FFFFFF
##01172D1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#05142D
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #01172d;
/* rgb */ color: rgb(1, 23, 45);
/* oklch */ color: oklch(20.1% 0.053 249.4);
Tailwind
colors: {
  custom: {
    50: '#495366',
    500: '#01172d',
    950: '#000000',
  },
}
SCSS
$custom: #01172d;
$custom-light: #495366;
$custom-dark: #000000;
JSON
{
  "hex": "#01172d",
  "rgb": {
    "r": 1,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 210,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20062,
    "c": 0.05329,
    "h": 249.4
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#01172D
secondary
#734517
accent
#9429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #01172D

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

Preview Lab → · Contrast checker → · Palette generator →

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