#0D0C2A#0D0C2A

#0D0C2A is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.059 H 280.0°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#0D0C2A
RGBrgb(13, 12, 42)
HSLhsl(242, 56%, 11%)
HSVhsv(242, 71%, 16%)
CMYKcmyk(69%, 71.4%, 0%, 83.5%)
CIE-LABlab(4.66, 9.22, -19.28)
CIE-LCHlch(4.66, 21.37, 295.56°)
OKLaboklab(17.75% 0.0103 -0.0583)
OKLCHoklch(17.75% 0.059 280)
XYZxyz(0.7152, 0.5156, 2.2519)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C2A #292A0C
analogous
#0C1A2A #0D0C2A #1C0C2A
triadic
#0D0C2A #2A0D0C #0C2A0D
tetradic
#0D0C2A #2A0C1A #292A0C #0C2A1C
square
#0D0C2A #2A0C1A #292A0C #0C2A1C
split-complementary
#0D0C2A #2A1C0C #1A2A0C
monochromatic
#070718 #070718 #0D0C2A #1C1A5A #2A2789

Accessibility & contrast

On white

19.04
#0D0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D0C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C2A
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C2A#FFFFFF#000000##FFFFFF
##0D0C2A1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#021319
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0c2a;
/* rgb */ color: rgb(13, 12, 42);
/* oklch */ color: oklch(17.7% 0.059 280.0);
Tailwind
colors: {
  custom: {
    50: '#4e4c63',
    500: '#0d0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c2a;
$custom-light: #4e4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c2a",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 242,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17746,
    "c": 0.05922,
    "h": 280
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#0D0C2A
secondary
#63652D
accent
#DF49DA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0D0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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