#0D0D2D#0D0D2D

#0D0D2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.3% C 0.063 H 278.2°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#0D0D2D
RGBrgb(13, 13, 45)
HSLhsl(240, 55%, 11%)
HSVhsv(240, 71%, 18%)
CMYKcmyk(71.1%, 71.1%, 0%, 82.4%)
CIE-LABlab(5.08, 10.18, -20.87)
CIE-LCHlch(5.08, 23.22, 296.00°)
OKLaboklab(18.27% 0.009 -0.0621)
OKLCHoklch(18.27% 0.063 278.2)
XYZxyz(0.7834, 0.5628, 2.5495)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D2D #2D2D0D
analogous
#0D1D2D #0D0D2D #1D0D2D
triadic
#0D0D2D #2D0D0D #0D2D0D
tetradic
#0D0D2D #2D0D1D #2D2D0D #0D2D1D
square
#0D0D2D #2D0D1D #2D2D0D #0D2D1D
split-complementary
#0D0D2D #2D1D0D #1D2D0D
monochromatic
#070718 #070718 #0D0D2D #1B1B5C #28288C

Accessibility & contrast

On white

18.87
#0D0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D2D
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D2D#FFFFFF#000000##FFFFFF
##0D0D2D1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0d2d;
/* rgb */ color: rgb(13, 13, 45);
/* oklch */ color: oklch(18.3% 0.063 278.2);
Tailwind
colors: {
  custom: {
    50: '#4f4c66',
    500: '#0d0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d2d;
$custom-light: #4f4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d2d",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 240,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18275,
    "c": 0.06276,
    "h": 278.2
  },
  "luminance": 0.00563
}

Semantic roles & 50–950 ramp

primary
#0D0D2D
secondary
#68682E
accent
#DF49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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