#0D0F2F#0D0F2F

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

Color values

HEX#0D0F2F
RGBrgb(13, 15, 47)
HSLhsl(236, 57%, 12%)
HSVhsv(236, 72%, 18%)
CMYKcmyk(72.3%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.71, 10.18, -21.36)
CIE-LCHlch(5.71, 23.66, 295.49°)
OKLaboklab(18.94% 0.0065 -0.0626)
OKLCHoklch(18.94% 0.063 275.9)
XYZxyz(0.8497, 0.6324, 2.7661)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F2F #2F2D0D
analogous
#0D202F #0D0F2F #1C0D2F
triadic
#0D0F2F #2F0D0F #0F2F0D
tetradic
#0D0F2F #2F0D20 #2F2D0D #0D2F1C
square
#0D0F2F #2F0D20 #2F2D0D #0D2F1C
split-complementary
#0D0F2F #2F1C0D #202F0D
monochromatic
#070818 #070818 #0D0F2F #1A1E5F #282E8F

Accessibility & contrast

On white

18.64
#0D0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F2F
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F2F#FFFFFF#000000##FFFFFF
##0D0F2F1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0f2f;
/* rgb */ color: rgb(13, 15, 47);
/* oklch */ color: oklch(18.9% 0.063 275.9);
Tailwind
colors: {
  custom: {
    50: '#4f4d68',
    500: '#0d0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f2f;
$custom-light: #4f4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f2f",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 236.471,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.1894,
    "c": 0.06292,
    "h": 275.9
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#0D0F2F
secondary
#6A662E
accent
#D748E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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