#0C0C19#0C0C19

#0C0C19 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.2% C 0.027 H 282.9°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#0C0C19
RGBrgb(12, 12, 25)
HSLhsl(240, 35%, 7%)
HSVhsv(240, 52%, 10%)
CMYKcmyk(52%, 52%, 0%, 90.2%)
CIE-LABlab(3.72, 2.77, -7.54)
CIE-LCHlch(3.72, 8.03, 290.17°)
OKLaboklab(16.19% 0.0061 -0.0265)
OKLCHoklch(16.19% 0.027 282.9)
XYZxyz(0.4585, 0.4113, 0.9747)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0C19 #19190C
analogous
#0C1319 #0C0C19 #130C19
triadic
#0C0C19 #190C0C #0C190C
tetradic
#0C0C19 #190C13 #19190C #0C1913
square
#0C0C19 #190C13 #19190C #0C1913
split-complementary
#0C0C19 #19130C #13190C
monochromatic
#0A0A15 #0A0A15 #0C0C19 #202042 #34346C

Accessibility & contrast

On white

19.40
#0C0C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0C0C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0C19
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0C19#FFFFFF#000000##FFFFFF
##0C0C191.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1A
Deuteranopia (green-blind)
#080D19
Tritanopia (blue-blind)
#090E11
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0c0c19;
/* rgb */ color: rgb(12, 12, 25);
/* oklch */ color: oklch(16.2% 0.027 282.9);
Tailwind
colors: {
  custom: {
    50: '#4c4c55',
    500: '#0c0c19',
    950: '#000000',
  },
}
SCSS
$custom: #0c0c19;
$custom-light: #4c4c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0c19",
  "rgb": {
    "r": 12,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 240,
    "s": 35.135,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16189,
    "c": 0.02722,
    "h": 282.9
  },
  "luminance": 0.00411
}

Semantic roles & 50–950 ramp

primary
#0C0C19
secondary
#505031
accent
#CB5DCB
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010103
muted
#777778

Preview Lab

Preview with #0C0C19

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

Preview Lab → · Contrast checker → · Palette generator →

#0C0C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva