#0D112E#0D112E

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

Color values

HEX#0D112E
RGBrgb(13, 17, 46)
HSLhsl(233, 56%, 12%)
HSVhsv(233, 72%, 18%)
CMYKcmyk(71.7%, 63%, 0%, 82%)
CIE-LABlab(6.18, 8.58, -19.88)
CIE-LCHlch(6.18, 21.65, 293.35°)
OKLaboklab(19.34% 0.0038 -0.0577)
OKLCHoklch(19.34% 0.058 273.8)
XYZxyz(0.8594, 0.6837, 2.6709)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D112E #2E2A0D
analogous
#0D222E #0D112E #1A0D2E
triadic
#0D112E #2E0D11 #112E0D
tetradic
#0D112E #2E0D22 #2E2A0D #0D2E1A
square
#0D112E #2E0D22 #2E2A0D #0D2E1A
split-complementary
#0D112E #2E1A0D #222E0D
monochromatic
#070918 #070918 #0D112E #1A235E #28348D

Accessibility & contrast

On white

18.47
#0D112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D112E
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D112E#FFFFFF#000000##FFFFFF
##0D112E1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d112e;
/* rgb */ color: rgb(13, 17, 46);
/* oklch */ color: oklch(19.3% 0.058 273.8);
Tailwind
colors: {
  custom: {
    50: '#4f4f67',
    500: '#0d112e',
    950: '#000000',
  },
}
SCSS
$custom: #0d112e;
$custom-light: #4f4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0d112e",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 232.727,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19335,
    "c": 0.05783,
    "h": 273.8
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#0D112E
secondary
#69622E
accent
#CD49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D112E

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

Preview Lab → · Contrast checker → · Palette generator →

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