#0C1044#0C1044

#0C1044 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.096 H 271.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#0C1044
RGBrgb(12, 16, 68)
HSLhsl(236, 70%, 16%)
HSVhsv(236, 82%, 27%)
CMYKcmyk(82.4%, 76.5%, 0%, 73.3%)
CIE-LABlab(7.82, 19.29, -33.14)
CIE-LCHlch(7.82, 38.34, 300.21°)
OKLaboklab(21.33% 0.0029 -0.0958)
OKLCHoklch(21.33% 0.096 271.7)
XYZxyz(1.3799, 0.8660, 5.5621)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1044 #44400C
analogous
#0C2C44 #0C1044 #240C44
triadic
#0C1044 #440C10 #10440C
tetradic
#0C1044 #440C2C #44400C #0C4424
square
#0C1044 #440C2C #44400C #0C4424
split-complementary
#0C1044 #44240C #2C440C
monochromatic
#05061A #05061A #0C1044 #151C78 #1E28AC

Accessibility & contrast

On white

17.90
#0C1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C1044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1044
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1044#FFFFFF#000000##FFFFFF
##0C10441.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c1044;
/* rgb */ color: rgb(12, 16, 68);
/* oklch */ color: oklch(21.3% 0.096 271.7);
Tailwind
colors: {
  custom: {
    50: '#554e79',
    500: '#0c1044',
    950: '#000000',
  },
}
SCSS
$custom: #0c1044;
$custom-light: #554e79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1044",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 235.714,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21326,
    "c": 0.09589,
    "h": 271.7
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#0C1044
secondary
#807A2C
accent
#E03BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C1044

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

Preview Lab → · Contrast checker → · Palette generator →

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