#0D0831#0D0831

#0D0831 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.077 H 280.6°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#0D0831
RGBrgb(13, 8, 49)
HSLhsl(247, 72%, 11%)
HSVhsv(247, 84%, 19%)
CMYKcmyk(73.5%, 83.7%, 0%, 80.8%)
CIE-LABlab(4.34, 14.33, -25.03)
CIE-LCHlch(4.34, 28.84, 299.80°)
OKLaboklab(17.64% 0.0142 -0.0759)
OKLCHoklch(17.64% 0.077 280.6)
XYZxyz(0.8070, 0.4809, 2.9554)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0831 #2C3108
analogous
#081731 #0D0831 #210831
triadic
#0D0831 #310D08 #08310D
tetradic
#0D0831 #310817 #2C3108 #083121
square
#0D0831 #310817 #2C3108 #083121
split-complementary
#0D0831 #312108 #173108
monochromatic
#07041A #07041A #0D0831 #1B1166 #29199A

Accessibility & contrast

On white

19.16
#0D0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D0831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0831
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0831#FFFFFF#000000##FFFFFF
##0D08311.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d0831;
/* rgb */ color: rgb(13, 8, 49);
/* oklch */ color: oklch(17.6% 0.077 280.6);
Tailwind
colors: {
  custom: {
    50: '#4f4a69',
    500: '#0d0831',
    950: '#000000',
  },
}
SCSS
$custom: #0d0831;
$custom-light: #4f4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0831",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 247.317,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17636,
    "c": 0.07727,
    "h": 280.6
  },
  "luminance": 0.00481
}

Semantic roles & 50–950 ramp

primary
#0D0831
secondary
#677025
accent
#EF39D9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0831

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

Preview Lab → · Contrast checker → · Palette generator →

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