#0D0936#0D0936

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

Color values

HEX#0D0936
RGBrgb(13, 9, 54)
HSLhsl(245, 71%, 12%)
HSVhsv(245, 83%, 21%)
CMYKcmyk(75.9%, 83.3%, 0%, 78.8%)
CIE-LABlab(4.94, 16.65, -27.76)
CIE-LCHlch(4.94, 32.37, 300.95°)
OKLaboklab(18.43% 0.0121 -0.0826)
OKLCHoklch(18.43% 0.084 278.3)
XYZxyz(0.9293, 0.5472, 3.5460)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0936 #323609
analogous
#091C36 #0D0936 #230936
triadic
#0D0936 #360D09 #09360D
tetradic
#0D0936 #36091C #323609 #093623
square
#0D0936 #36091C #323609 #093623
split-complementary
#0D0936 #362309 #1C3609
monochromatic
#06041A #06041A #0D0936 #1A126A #261A9F

Accessibility & contrast

On white

18.93
#0D0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0936
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0936#FFFFFF#000000##FFFFFF
##0D09361.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0936;
/* rgb */ color: rgb(13, 9, 54);
/* oklch */ color: oklch(18.4% 0.084 278.3);
Tailwind
colors: {
  custom: {
    50: '#514a6d',
    500: '#0d0936',
    950: '#000000',
  },
}
SCSS
$custom: #0d0936;
$custom-light: #514a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0936",
  "rgb": {
    "r": 13,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 245.333,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18428,
    "c": 0.0835,
    "h": 278.3
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#0D0936
secondary
#6D7427
accent
#EE3ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0936

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

Preview Lab → · Contrast checker → · Palette generator →

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