#0C0D44#0C0D44

#0C0D44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.100 H 272.8°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#0C0D44
RGBrgb(12, 13, 68)
HSLhsl(239, 70%, 16%)
HSVhsv(239, 82%, 27%)
CMYKcmyk(82.4%, 80.9%, 0%, 73.3%)
CIE-LABlab(7.07, 21.29, -34.36)
CIE-LCHlch(7.07, 40.42, 301.78°)
OKLaboklab(20.76% 0.0048 -0.0996)
OKLCHoklch(20.76% 0.1 272.8)
XYZxyz(1.3386, 0.7832, 5.5484)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0D44 #44430C
analogous
#0C2944 #0C0D44 #270C44
triadic
#0C0D44 #440C0D #0D440C
tetradic
#0C0D44 #440C29 #44430C #0C4427
square
#0C0D44 #440C29 #44430C #0C4427
split-complementary
#0C0D44 #44270C #29440C
monochromatic
#05051A #05051A #0C0D44 #151778 #1E21AC

Accessibility & contrast

On white

18.16
#0C0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0C0D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0D44
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0D44#FFFFFF#000000##FFFFFF
##0C0D441.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c0d44;
/* rgb */ color: rgb(12, 13, 68);
/* oklch */ color: oklch(20.8% 0.100 272.8);
Tailwind
colors: {
  custom: {
    50: '#564c79',
    500: '#0c0d44',
    950: '#000000',
  },
}
SCSS
$custom: #0c0d44;
$custom-light: #564c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0d44",
  "rgb": {
    "r": 12,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 238.929,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20761,
    "c": 0.09973,
    "h": 272.8
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#0C0D44
secondary
#807E2C
accent
#EA3BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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