#010C1F#010C1F

#010C1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.5% C 0.046 H 255.0°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#010C1F
RGBrgb(1, 12, 31)
HSLhsl(218, 94%, 6%)
HSVhsv(218, 97%, 12%)
CMYKcmyk(96.8%, 61.3%, 0%, 87.8%)
CIE-LABlab(3.33, 1.69, -12.93)
CIE-LCHlch(3.33, 13.04, 277.43°)
OKLaboklab(15.52% -0.0118 -0.0441)
OKLCHoklch(15.52% 0.046 255)
XYZxyz(0.3912, 0.3683, 1.3465)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C1F #1F1401
analogous
#011B1F #010C1F #05011F
triadic
#010C1F #1F010C #0C1F01
tetradic
#010C1F #1F011B #1F1401 #011F05
square
#010C1F #1F011B #1F1401 #011F05
split-complementary
#010C1F #1F0501 #1B1F01
monochromatic
#010B1E #010B1E #010C1F #03235A #053A96

Accessibility & contrast

On white

19.56
#010C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010C1F
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C1F#FFFFFF#000000##FFFFFF
##010C1F1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E20
Deuteranopia (green-blind)
#010B1F
Tritanopia (blue-blind)
#001113
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #010c1f;
/* rgb */ color: rgb(1, 12, 31);
/* oklch */ color: oklch(15.5% 0.046 255.0);
Tailwind
colors: {
  custom: {
    50: '#464c5a',
    500: '#010c1f',
    950: '#000000',
  },
}
SCSS
$custom: #010c1f;
$custom-light: #464c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#010c1f",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 218,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15518,
    "c": 0.04569,
    "h": 255
  },
  "luminance": 0.00368
}

Semantic roles & 50–950 ramp

primary
#010C1F
secondary
#674915
accent
#B029FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #010C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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