#0D0836#0D0836

#0D0836 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.085 H 278.8°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#0D0836
RGBrgb(13, 8, 54)
HSLhsl(247, 74%, 12%)
HSVhsv(247, 85%, 21%)
CMYKcmyk(75.9%, 85.2%, 0%, 78.8%)
CIE-LABlab(4.75, 17.07, -28.08)
CIE-LCHlch(4.75, 32.86, 301.31°)
OKLaboklab(18.23% 0.013 -0.0839)
OKLCHoklch(18.23% 0.085 278.8)
XYZxyz(0.9185, 0.5255, 3.5423)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0836 #313608
analogous
#081A36 #0D0836 #240836
triadic
#0D0836 #360D08 #08360D
tetradic
#0D0836 #36081A #313608 #083624
square
#0D0836 #36081A #313608 #083624
split-complementary
#0D0836 #362408 #1A3608
monochromatic
#06041B #06041B #0D0836 #1A106B #2718A1

Accessibility & contrast

On white

19.00
#0D0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0D0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0836
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0836#FFFFFF#000000##FFFFFF
##0D08361.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0836;
/* rgb */ color: rgb(13, 8, 54);
/* oklch */ color: oklch(18.2% 0.085 278.8);
Tailwind
colors: {
  custom: {
    50: '#51496d',
    500: '#0d0836',
    950: '#000000',
  },
}
SCSS
$custom: #0d0836;
$custom-light: #51496d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0836",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 246.522,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18233,
    "c": 0.08493,
    "h": 278.8
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#0D0836
secondary
#6C7525
accent
#F137DD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0836

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

Preview Lab → · Contrast checker → · Palette generator →

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