#0C1929#0C1929

#0C1929 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.1% C 0.037 H 254.4°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0C1929
RGBrgb(12, 25, 41)
HSLhsl(213, 55%, 10%)
HSVhsv(213, 71%, 16%)
CMYKcmyk(70.7%, 39%, 0%, 83.9%)
CIE-LABlab(8.42, 0.48, -12.61)
CIE-LCHlch(8.42, 12.62, 272.17°)
OKLaboklab(21.05% -0.0099 -0.0355)
OKLCHoklch(21.05% 0.037 254.4)
XYZxyz(0.8993, 0.9334, 2.2302)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1929 #291C0C
analogous
#0C2729 #0C1929 #0D0C29
triadic
#0C1929 #290C19 #19290C
tetradic
#0C1929 #290C27 #291C0C #0C290D
square
#0C1929 #290C27 #291C0C #0C290D
split-complementary
#0C1929 #290D0C #27290C
monochromatic
#070E18 #070E18 #0C1929 #1A3658 #285388

Accessibility & contrast

On white

17.69
#0C1929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0C1929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1929
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1929#FFFFFF#000000##FFFFFF
##0C19291.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2A
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0c1929;
/* rgb */ color: rgb(12, 25, 41);
/* oklch */ color: oklch(21.1% 0.037 254.4);
Tailwind
colors: {
  custom: {
    50: '#4d5562',
    500: '#0c1929',
    950: '#000000',
  },
}
SCSS
$custom: #0c1929;
$custom-light: #4d5562;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1929",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 41
  },
  "hsl": {
    "h": 213.103,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21052,
    "c": 0.03689,
    "h": 254.4
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#0C1929
secondary
#644B2D
accent
#9C4ADE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010305
muted
#777879

Preview Lab

Preview with #0C1929

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

Preview Lab → · Contrast checker → · Palette generator →

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