#010C1C#010C1C

#010C1C is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.2% C 0.040 H 251.7°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#010C1C
RGBrgb(1, 12, 28)
HSLhsl(216, 93%, 6%)
HSVhsv(216, 96%, 11%)
CMYKcmyk(96.4%, 57.1%, 0%, 89%)
CIE-LABlab(3.19, 0.73, -10.77)
CIE-LCHlch(3.19, 10.79, 273.87°)
OKLaboklab(15.25% -0.0127 -0.0383)
OKLCHoklch(15.25% 0.04 251.7)
XYZxyz(0.3535, 0.3532, 1.1479)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C1C #1C1101
analogous
#01191C #010C1C #04011C
triadic
#010C1C #1C010C #0C1C01
tetradic
#010C1C #1C0119 #1C1101 #011C04
square
#010C1C #1C0119 #1C1101 #011C04
split-complementary
#010C1C #1C0401 #191C01
monochromatic
#010D1E #010D1E #010D1E #032557 #053F92

Accessibility & contrast

On white

19.62
#010C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#010C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010C1C
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C1C#FFFFFF#000000##FFFFFF
##010C1C1.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050D1D
Deuteranopia (green-blind)
#020A1C
Tritanopia (blue-blind)
#001012
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #010c1c;
/* rgb */ color: rgb(1, 12, 28);
/* oklch */ color: oklch(15.2% 0.040 251.7);
Tailwind
colors: {
  custom: {
    50: '#464c58',
    500: '#010c1c',
    950: '#000000',
  },
}
SCSS
$custom: #010c1c;
$custom-light: #464c58;
$custom-dark: #000000;
JSON
{
  "hex": "#010c1c",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 28
  },
  "hsl": {
    "h": 215.556,
    "s": 93.103,
    "l": 5.686
  },
  "oklch": {
    "l": 0.15245,
    "c": 0.04039,
    "h": 251.7
  },
  "luminance": 0.00353
}

Semantic roles & 50–950 ramp

primary
#010C1C
secondary
#644415
accent
#A829FF
background
#F3F4F5
surface
#E5E7E9
border
#C1C3C5
text
#000103
muted
#767778

Preview Lab

Preview with #010C1C

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

Preview Lab → · Contrast checker → · Palette generator →

#010C1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva