#0C1921#0C1921

#0C1921 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.6% C 0.024 H 236.7°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0C1921
RGBrgb(12, 25, 33)
HSLhsl(203, 47%, 9%)
HSVhsv(203, 64%, 13%)
CMYKcmyk(63.6%, 24.2%, 0%, 87.1%)
CIE-LABlab(7.98, -2.69, -7.32)
CIE-LCHlch(7.98, 7.80, 249.80°)
OKLaboklab(20.55% -0.0134 -0.0203)
OKLCHoklch(20.55% 0.024 236.7)
XYZxyz(0.7737, 0.8832, 1.5682)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1921 #21140C
analogous
#0C211F #0C1921 #0C0F21
triadic
#0C1921 #210C19 #19210C
tetradic
#0C1921 #1F0C21 #21140C #0F210C
square
#0C1921 #1F0C21 #21140C #0F210C
split-complementary
#0C1921 #210C0F #211F0C
monochromatic
#081116 #081116 #0C1921 #1C3B4E #2D5D7B

Accessibility & contrast

On white

17.85
#0C1921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0C1921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1921
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1921#FFFFFF#000000##FFFFFF
##0C19211.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151921
Deuteranopia (green-blind)
#121621
Tritanopia (blue-blind)
#041B1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c1921;
/* rgb */ color: rgb(12, 25, 33);
/* oklch */ color: oklch(20.6% 0.024 236.7);
Tailwind
colors: {
  custom: {
    50: '#4c555c',
    500: '#0c1921',
    950: '#000000',
  },
}
SCSS
$custom: #0c1921;
$custom-light: #4c555c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1921",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 33
  },
  "hsl": {
    "h": 202.857,
    "s": 46.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20553,
    "c": 0.02432,
    "h": 236.7
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#0C1921
secondary
#5B3F2E
accent
#8451D6
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010304
muted
#777879

Preview Lab

Preview with #0C1921

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

Preview Lab → · Contrast checker → · Palette generator →

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