#0D112F#0D112F

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

Color values

HEX#0D112F
RGBrgb(13, 17, 47)
HSLhsl(233, 57%, 12%)
HSVhsv(233, 72%, 18%)
CMYKcmyk(72.3%, 63.8%, 0%, 81.6%)
CIE-LABlab(6.25, 9.07, -20.51)
CIE-LCHlch(6.25, 22.42, 293.86°)
OKLaboklab(19.43% 0.0039 -0.0595)
OKLCHoklch(19.43% 0.06 273.8)
XYZxyz(0.8793, 0.6916, 2.7759)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D112F #2F2B0D
analogous
#0D222F #0D112F #1A0D2F
triadic
#0D112F #2F0D11 #112F0D
tetradic
#0D112F #2F0D22 #2F2B0D #0D2F1A
square
#0D112F #2F0D22 #2F2B0D #0D2F1A
split-complementary
#0D112F #2F1A0D #222F0D
monochromatic
#070918 #070918 #0D112F #1A225F #28348F

Accessibility & contrast

On white

18.45
#0D112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D112F
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D112F#FFFFFF#000000##FFFFFF
##0D112F1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d112f;
/* rgb */ color: rgb(13, 17, 47);
/* oklch */ color: oklch(19.4% 0.060 273.8);
Tailwind
colors: {
  custom: {
    50: '#4f4f68',
    500: '#0d112f',
    950: '#000000',
  },
}
SCSS
$custom: #0d112f;
$custom-light: #4f4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d112f",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 232.941,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19427,
    "c": 0.0596,
    "h": 273.8
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#0D112F
secondary
#6A632E
accent
#CE48E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D112F

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

Preview Lab → · Contrast checker → · Palette generator →

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