#0D0F2D#0D0F2D

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

Color values

HEX#0D0F2D
RGBrgb(13, 15, 45)
HSLhsl(236, 55%, 11%)
HSVhsv(236, 71%, 18%)
CMYKcmyk(71.1%, 66.7%, 0%, 82.4%)
CIE-LABlab(5.57, 9.19, -20.09)
CIE-LCHlch(5.57, 22.09, 294.57°)
OKLaboklab(18.75% 0.0064 -0.0591)
OKLCHoklch(18.75% 0.059 276.2)
XYZxyz(0.8103, 0.6166, 2.5584)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F2D #2D2B0D
analogous
#0D1F2D #0D0F2D #1B0D2D
triadic
#0D0F2D #2D0D0F #0F2D0D
tetradic
#0D0F2D #2D0D1F #2D2B0D #0D2D1B
square
#0D0F2D #2D0D1F #2D2B0D #0D2D1B
split-complementary
#0D0F2D #2D1B0D #1F2D0D
monochromatic
#070818 #070818 #0D0F2D #1B1F5C #282F8C

Accessibility & contrast

On white

18.69
#0D0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F2D
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F2D#FFFFFF#000000##FFFFFF
##0D0F2D1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d0f2d;
/* rgb */ color: rgb(13, 15, 45);
/* oklch */ color: oklch(18.7% 0.059 276.2);
Tailwind
colors: {
  custom: {
    50: '#4f4d66',
    500: '#0d0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f2d;
$custom-light: #4f4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f2d",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 236.25,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18749,
    "c": 0.0594,
    "h": 276.2
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#0D0F2D
secondary
#68642E
accent
#D549DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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