#0D0D2E#0D0D2E

#0D0D2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.064 H 278.0°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#0D0D2E
RGBrgb(13, 13, 46)
HSLhsl(240, 56%, 12%)
HSVhsv(240, 72%, 18%)
CMYKcmyk(71.7%, 71.7%, 0%, 82%)
CIE-LABlab(5.15, 10.67, -21.50)
CIE-LCHlch(5.15, 24.01, 296.40°)
OKLaboklab(18.38% 0.0089 -0.0639)
OKLCHoklch(18.38% 0.064 278)
XYZxyz(0.8029, 0.5706, 2.6521)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D2E #2E2E0D
analogous
#0D1E2E #0D0D2E #1E0D2E
triadic
#0D0D2E #2E0D0D #0D2E0D
tetradic
#0D0D2E #2E0D1E #2E2E0D #0D2E1E
square
#0D0D2E #2E0D1E #2E2E0D #0D2E1E
split-complementary
#0D0D2E #2E1E0D #1E2E0D
monochromatic
#070718 #070718 #0D0D2E #1A1A5E #28288D

Accessibility & contrast

On white

18.85
#0D0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D2E
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D2E#FFFFFF#000000##FFFFFF
##0D0D2E1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0d2e;
/* rgb */ color: rgb(13, 13, 46);
/* oklch */ color: oklch(18.4% 0.064 278.0);
Tailwind
colors: {
  custom: {
    50: '#4f4c67',
    500: '#0d0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d2e;
$custom-light: #4f4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d2e",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18375,
    "c": 0.06449,
    "h": 278
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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