#0D0C2B#0D0C2B

#0D0C2B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.061 H 279.7°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#0D0C2B
RGBrgb(13, 12, 43)
HSLhsl(242, 56%, 11%)
HSVhsv(242, 72%, 17%)
CMYKcmyk(69.8%, 72.1%, 0%, 83.1%)
CIE-LABlab(4.72, 9.68, -19.93)
CIE-LCHlch(4.72, 22.16, 295.91°)
OKLaboklab(17.85% 0.0103 -0.0601)
OKLCHoklch(17.85% 0.061 279.7)
XYZxyz(0.7334, 0.5229, 2.3473)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C2B #2A2B0C
analogous
#0C1A2B #0D0C2B #1C0C2B
triadic
#0D0C2B #2B0D0C #0C2B0D
tetradic
#0D0C2B #2B0C1A #2A2B0C #0C2B1C
square
#0D0C2B #2B0C1A #2A2B0C #0C2B1C
split-complementary
#0D0C2B #2B1C0C #1A2B0C
monochromatic
#070718 #070718 #0D0C2B #1B195B #2A278B

Accessibility & contrast

On white

19.01
#0D0C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0C2B
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C2B#FFFFFF#000000##FFFFFF
##0D0C2B1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#011319
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0c2b;
/* rgb */ color: rgb(13, 12, 43);
/* oklch */ color: oklch(17.8% 0.061 279.7);
Tailwind
colors: {
  custom: {
    50: '#4e4c64',
    500: '#0d0c2b',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c2b;
$custom-light: #4e4c64;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c2b",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 241.935,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17845,
    "c": 0.06097,
    "h": 279.7
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#0D0C2B
secondary
#64662C
accent
#E048DB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D0C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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