#0D0F2C#0D0F2C

#0D0F2C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.058 H 276.3°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#0D0F2C
RGBrgb(13, 15, 44)
HSLhsl(236, 54%, 11%)
HSVhsv(236, 70%, 17%)
CMYKcmyk(70.5%, 65.9%, 0%, 82.7%)
CIE-LABlab(5.50, 8.70, -19.46)
CIE-LCHlch(5.50, 21.31, 294.10°)
OKLaboklab(18.66% 0.0063 -0.0573)
OKLCHoklch(18.66% 0.058 276.3)
XYZxyz(0.7913, 0.6090, 2.4582)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F2C #2C2A0D
analogous
#0D1E2C #0D0F2C #1A0D2C
triadic
#0D0F2C #2C0D0F #0F2C0D
tetradic
#0D0F2C #2C0D1E #2C2A0D #0D2C1A
square
#0D0F2C #2C0D1E #2C2A0D #0D2C1A
split-complementary
#0D0F2C #2C1A0D #1E2C0D
monochromatic
#070818 #070818 #0D0F2C #1B1F5B #292F8A

Accessibility & contrast

On white

18.72
#0D0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F2C
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F2C#FFFFFF#000000##FFFFFF
##0D0F2C1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#01161B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d0f2c;
/* rgb */ color: rgb(13, 15, 44);
/* oklch */ color: oklch(18.7% 0.058 276.3);
Tailwind
colors: {
  custom: {
    50: '#4e4d65',
    500: '#0d0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f2c;
$custom-light: #4e4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f2c",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 236.129,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18655,
    "c": 0.05763,
    "h": 276.3
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#0D0F2C
secondary
#67632E
accent
#D44ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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