#0D112A#0D112A

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

Color values

HEX#0D112A
RGBrgb(13, 17, 42)
HSLhsl(232, 53%, 11%)
HSVhsv(232, 69%, 16%)
CMYKcmyk(69%, 59.5%, 0%, 83.5%)
CIE-LABlab(5.90, 6.68, -17.32)
CIE-LCHlch(5.90, 18.56, 291.08°)
OKLaboklab(18.98% 0.0033 -0.0504)
OKLCHoklch(18.98% 0.051 273.8)
XYZxyz(0.7842, 0.6536, 2.2749)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D112A #2A260D
analogous
#0D1F2A #0D112A #170D2A
triadic
#0D112A #2A0D11 #112A0D
tetradic
#0D112A #2A0D1F #2A260D #0D2A17
square
#0D112A #2A0D1F #2A260D #0D2A17
split-complementary
#0D112A #2A170D #1F2A0D
monochromatic
#070917 #070917 #0D112A #1B2459 #2A3787

Accessibility & contrast

On white

18.57
#0D112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D112A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D112A#FFFFFF#000000##FFFFFF
##0D112A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06142B
Deuteranopia (green-blind)
#031229
Tritanopia (blue-blind)
#02171B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d112a;
/* rgb */ color: rgb(13, 17, 42);
/* oklch */ color: oklch(19.0% 0.051 273.8);
Tailwind
colors: {
  custom: {
    50: '#4e4f63',
    500: '#0d112a',
    950: '#000000',
  },
}
SCSS
$custom: #0d112a;
$custom-light: #4e4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#0d112a",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 231.724,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18982,
    "c": 0.05056,
    "h": 273.8
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#0D112A
secondary
#645D2E
accent
#C84CDC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0D112A

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

Preview Lab → · Contrast checker → · Palette generator →

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