#0D0837#0D0837

#0D0837 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.086 H 278.5°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#0D0837
RGBrgb(13, 8, 55)
HSLhsl(246, 75%, 12%)
HSVhsv(246, 85%, 22%)
CMYKcmyk(76.4%, 85.5%, 0%, 78.4%)
CIE-LABlab(4.83, 17.61, -28.67)
CIE-LCHlch(4.83, 33.65, 301.56°)
OKLaboklab(18.36% 0.0128 -0.0855)
OKLCHoklch(18.36% 0.086 278.5)
XYZxyz(0.9422, 0.5350, 3.6673)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0837 #323708
analogous
#081B37 #0D0837 #250837
triadic
#0D0837 #370D08 #08370D
tetradic
#0D0837 #37081B #323708 #083725
square
#0D0837 #37081B #323708 #083725
split-complementary
#0D0837 #372508 #1B3708
monochromatic
#06041B #06041B #0D0837 #1A106C #2618A2

Accessibility & contrast

On white

18.97
#0D0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0837
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0837#FFFFFF#000000##FFFFFF
##0D08371.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0837;
/* rgb */ color: rgb(13, 8, 55);
/* oklch */ color: oklch(18.4% 0.086 278.5);
Tailwind
colors: {
  custom: {
    50: '#52496e',
    500: '#0d0837',
    950: '#000000',
  },
}
SCSS
$custom: #0d0837;
$custom-light: #52496e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0837",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 246.383,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18355,
    "c": 0.08644,
    "h": 278.5
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#0D0837
secondary
#6D7625
accent
#F137DD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0837

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

Preview Lab → · Contrast checker → · Palette generator →

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