#0D0D2F#0D0D2F

#0D0D2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.066 H 277.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#0D0D2F
RGBrgb(13, 13, 47)
HSLhsl(240, 57%, 12%)
HSVhsv(240, 72%, 18%)
CMYKcmyk(72.3%, 72.3%, 0%, 81.6%)
CIE-LABlab(5.23, 11.18, -22.13)
CIE-LCHlch(5.23, 24.80, 296.79°)
OKLaboklab(18.48% 0.0089 -0.0656)
OKLCHoklch(18.48% 0.066 277.7)
XYZxyz(0.8228, 0.5786, 2.7571)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D2F #2F2F0D
analogous
#0D1E2F #0D0D2F #1E0D2F
triadic
#0D0D2F #2F0D0D #0D2F0D
tetradic
#0D0D2F #2F0D1E #2F2F0D #0D2F1E
square
#0D0D2F #2F0D1E #2F2F0D #0D2F1E
split-complementary
#0D0D2F #2F1E0D #1E2F0D
monochromatic
#070718 #070718 #0D0D2F #1A1A5F #28288F

Accessibility & contrast

On white

18.82
#0D0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0D0D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D2F
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D2F#FFFFFF#000000##FFFFFF
##0D0D2F1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0d2f;
/* rgb */ color: rgb(13, 13, 47);
/* oklch */ color: oklch(18.5% 0.066 277.7);
Tailwind
colors: {
  custom: {
    50: '#4f4c68',
    500: '#0d0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d2f;
$custom-light: #4f4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d2f",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18476,
    "c": 0.0662,
    "h": 277.7
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#0D0D2F
secondary
#6A6A2E
accent
#E048E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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