#0C1024#0C1024

#0C1024 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.041 H 273.1°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#0C1024
RGBrgb(12, 16, 36)
HSLhsl(230, 50%, 9%)
HSVhsv(230, 67%, 14%)
CMYKcmyk(66.7%, 55.6%, 0%, 85.9%)
CIE-LABlab(5.20, 4.41, -13.87)
CIE-LCHlch(5.20, 14.55, 287.63°)
OKLaboklab(18.13% 0.0022 -0.0413)
OKLCHoklch(18.13% 0.041 273.1)
XYZxyz(0.6552, 0.5761, 1.7454)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1024 #24200C
analogous
#0C1C24 #0C1024 #140C24
triadic
#0C1024 #240C10 #10240C
tetradic
#0C1024 #240C1C #24200C #0C2414
square
#0C1024 #240C1C #24200C #0C2414
split-complementary
#0C1024 #24140C #1C240C
monochromatic
#080A17 #080A17 #0C1024 #1B2452 #2B3980

Accessibility & contrast

On white

18.83
#0C1024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0C1024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1024
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1024#FFFFFF#000000##FFFFFF
##0C10241.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081225
Deuteranopia (green-blind)
#061024
Tritanopia (blue-blind)
#041418
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c1024;
/* rgb */ color: rgb(12, 16, 36);
/* oklch */ color: oklch(18.1% 0.041 273.1);
Tailwind
colors: {
  custom: {
    50: '#4c4e5e',
    500: '#0c1024',
    950: '#000000',
  },
}
SCSS
$custom: #0c1024;
$custom-light: #4c4e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1024",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18131,
    "c": 0.04141,
    "h": 273.1
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#0C1024
secondary
#5E562D
accent
#C24EDA
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #0C1024

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

Preview Lab → · Contrast checker → · Palette generator →

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