#0D112D#0D112D

#0D112D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.2% C 0.056 H 273.8°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#0D112D
RGBrgb(13, 17, 45)
HSLhsl(233, 55%, 11%)
HSVhsv(233, 71%, 18%)
CMYKcmyk(71.1%, 62.2%, 0%, 82.4%)
CIE-LABlab(6.11, 8.09, -19.25)
CIE-LCHlch(6.11, 20.88, 292.80°)
OKLaboklab(19.25% 0.0037 -0.0559)
OKLCHoklch(19.25% 0.056 273.8)
XYZxyz(0.8399, 0.6759, 2.5683)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D112D #2D290D
analogous
#0D212D #0D112D #190D2D
triadic
#0D112D #2D0D11 #112D0D
tetradic
#0D112D #2D0D21 #2D290D #0D2D19
square
#0D112D #2D0D21 #2D290D #0D2D19
split-complementary
#0D112D #2D190D #212D0D
monochromatic
#070918 #070918 #0D112D #1B235C #28358C

Accessibility & contrast

On white

18.50
#0D112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D112D
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D112D#FFFFFF#000000##FFFFFF
##0D112D1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152E
Deuteranopia (green-blind)
#01122C
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d112d;
/* rgb */ color: rgb(13, 17, 45);
/* oklch */ color: oklch(19.2% 0.056 273.8);
Tailwind
colors: {
  custom: {
    50: '#4f4f66',
    500: '#0d112d',
    950: '#000000',
  },
}
SCSS
$custom: #0d112d;
$custom-light: #4f4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0d112d",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 232.5,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19245,
    "c": 0.05602,
    "h": 273.8
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#0D112D
secondary
#68612E
accent
#CC49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D112D

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

Preview Lab → · Contrast checker → · Palette generator →

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