#0D112C#0D112C

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

Color values

HEX#0D112C
RGBrgb(13, 17, 44)
HSLhsl(232, 54%, 11%)
HSVhsv(232, 70%, 17%)
CMYKcmyk(70.5%, 61.4%, 0%, 82.7%)
CIE-LABlab(6.04, 7.61, -18.61)
CIE-LCHlch(6.04, 20.10, 292.24°)
OKLaboklab(19.16% 0.0036 -0.0541)
OKLCHoklch(19.16% 0.054 273.8)
XYZxyz(0.8209, 0.6683, 2.4681)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D112C #2C280D
analogous
#0D202C #0D112C #180D2C
triadic
#0D112C #2C0D11 #112C0D
tetradic
#0D112C #2C0D20 #2C280D #0D2C18
square
#0D112C #2C0D20 #2C280D #0D2C18
split-complementary
#0D112C #2C180D #202C0D
monochromatic
#070918 #070918 #0D112C #1B235B #29368A

Accessibility & contrast

On white

18.53
#0D112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D112C
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D112C#FFFFFF#000000##FFFFFF
##0D112C1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d112c;
/* rgb */ color: rgb(13, 17, 44);
/* oklch */ color: oklch(19.2% 0.054 273.8);
Tailwind
colors: {
  custom: {
    50: '#4e4f65',
    500: '#0d112c',
    950: '#000000',
  },
}
SCSS
$custom: #0d112c;
$custom-light: #4e4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0d112c",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 232.258,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19156,
    "c": 0.05422,
    "h": 273.8
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#0D112C
secondary
#675F2E
accent
#CB4ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0D112C

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

Preview Lab → · Contrast checker → · Palette generator →

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