#0D0C2D#0D0C2D

#0D0C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.064 H 279.1°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#0D0C2D
RGBrgb(13, 12, 45)
HSLhsl(242, 58%, 11%)
HSVhsv(242, 73%, 18%)
CMYKcmyk(71.1%, 73.3%, 0%, 82.4%)
CIE-LABlab(4.86, 10.64, -21.22)
CIE-LCHlch(4.86, 23.74, 296.63°)
OKLaboklab(18.05% 0.0102 -0.0636)
OKLCHoklch(18.05% 0.064 279.1)
XYZxyz(0.7710, 0.5379, 2.5453)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C2D #2C2D0C
analogous
#0C1B2D #0D0C2D #1D0C2D
triadic
#0D0C2D #2D0D0C #0C2D0D
tetradic
#0D0C2D #2D0C1B #2C2D0C #0C2D1D
square
#0D0C2D #2D0C1B #2C2D0C #0C2D1D
split-complementary
#0D0C2D #2D1D0C #1B2D0C
monochromatic
#070618 #070618 #0D0C2D #1B195D #29268E

Accessibility & contrast

On white

18.96
#0D0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0D0C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C2D
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C2D#FFFFFF#000000##FFFFFF
##0D0C2D1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0c2d;
/* rgb */ color: rgb(13, 12, 45);
/* oklch */ color: oklch(18.0% 0.064 279.1);
Tailwind
colors: {
  custom: {
    50: '#4e4c66',
    500: '#0d0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c2d;
$custom-light: #4e4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c2d",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 241.818,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18046,
    "c": 0.06442,
    "h": 279.1
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#0D0C2D
secondary
#67692C
accent
#E147DC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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