#000C1F#000C1F

#000C1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.4% C 0.047 H 252.5°. Best body text is #FFFFFF at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#000C1F
RGBrgb(0, 12, 31)
HSLhsl(217, 100%, 6%)
HSVhsv(217, 100%, 12%)
CMYKcmyk(100%, 61.3%, 0%, 87.8%)
CIE-LABlab(3.27, 1.43, -13.02)
CIE-LCHlch(3.27, 13.10, 276.25°)
OKLaboklab(15.41% -0.014 -0.0447)
OKLCHoklch(15.41% 0.047 252.5)
XYZxyz(0.3787, 0.3618, 1.3459)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000C1F #1F1300
analogous
#001B1F #000C1F #03001F
triadic
#000C1F #1F000C #0C1F00
tetradic
#000C1F #1F001B #1F1300 #001F03
square
#000C1F #1F001B #1F1300 #001F03
split-complementary
#000C1F #1F0300 #1B1F00
monochromatic
#000C1F #000C1F #000C1F #00245C #003B99

Accessibility & contrast

On white

19.58
#000C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #000C1F
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000C1F#FFFFFF#000000##FFFFFF
##000C1F1.0019.581.0719.58
#FFFFFF19.581.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #000c1f;
/* rgb */ color: rgb(0, 12, 31);
/* oklch */ color: oklch(15.4% 0.047 252.5);
Tailwind
colors: {
  custom: {
    50: '#464c5a',
    500: '#000c1f',
    950: '#000000',
  },
}
SCSS
$custom: #000c1f;
$custom-light: #464c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#000c1f",
  "rgb": {
    "r": 0,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 216.774,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.15406,
    "c": 0.04685,
    "h": 252.5
  },
  "luminance": 0.00362
}

Semantic roles & 50–950 ramp

primary
#000C1F
secondary
#684712
accent
#AC29FF
background
#F3F4F5
surface
#E5E7E9
border
#C1C3C5
text
#000103
muted
#767778

Preview Lab

Preview with #000C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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