#0D0839#0D0839

#0D0839 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.089 H 277.9°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#0D0839
RGBrgb(13, 8, 57)
HSLhsl(246, 75%, 13%)
HSVhsv(246, 86%, 22%)
CMYKcmyk(77.2%, 86%, 0%, 77.6%)
CIE-LABlab(5.01, 18.68, -29.84)
CIE-LCHlch(5.01, 35.21, 302.04°)
OKLaboklab(18.6% 0.0122 -0.0886)
OKLCHoklch(18.6% 0.089 277.9)
XYZxyz(0.9911, 0.5546, 3.9249)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0839 #343908
analogous
#081C39 #0D0839 #250839
triadic
#0D0839 #390D08 #08390D
tetradic
#0D0839 #39081C #343908 #083925
square
#0D0839 #39081C #343908 #083925
split-complementary
#0D0839 #392508 #1C3908
monochromatic
#06041B #06041B #0D0839 #19106F #2517A4

Accessibility & contrast

On white

18.90
#0D0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0839
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0839#FFFFFF#000000##FFFFFF
##0D08391.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0839;
/* rgb */ color: rgb(13, 8, 57);
/* oklch */ color: oklch(18.6% 0.089 277.9);
Tailwind
colors: {
  custom: {
    50: '#524970',
    500: '#0d0839',
    950: '#000000',
  },
}
SCSS
$custom: #0d0839;
$custom-light: #524970;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0839",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 246.122,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18601,
    "c": 0.08942,
    "h": 277.9
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#0D0839
secondary
#6F7825
accent
#F236DF
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D0839

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

Preview Lab → · Contrast checker → · Palette generator →

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