#0D0B47#0D0B47

#0D0B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.106 H 273.6°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0D0B47
RGBrgb(13, 11, 71)
HSLhsl(242, 73%, 16%)
HSVhsv(242, 85%, 28%)
CMYKcmyk(81.7%, 84.5%, 0%, 72.2%)
CIE-LABlab(7.04, 23.90, -36.53)
CIE-LCHlch(7.04, 43.65, 303.19°)
OKLaboklab(20.87% 0.0067 -0.1059)
OKLCHoklch(20.87% 0.106 273.6)
XYZxyz(1.4226, 0.7797, 6.0355)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B47 #45470B
analogous
#0B2747 #0D0B47 #2B0B47
triadic
#0D0B47 #470D0B #0B470D
tetradic
#0D0B47 #470B27 #45470B #0B472B
square
#0D0B47 #470B27 #45470B #0B472B
split-complementary
#0D0B47 #472B0B #27470B
monochromatic
#05041A #05041A #0D0B47 #17137C #201BB1

Accessibility & contrast

On white

18.17
#0D0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B47
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B47#FFFFFF#000000##FFFFFF
##0D0B471.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0b47;
/* rgb */ color: rgb(13, 11, 71);
/* oklch */ color: oklch(20.9% 0.106 273.6);
Tailwind
colors: {
  custom: {
    50: '#574b7b',
    500: '#0d0b47',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b47;
$custom-light: #574b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b47",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 242,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20866,
    "c": 0.10609,
    "h": 273.6
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#0D0B47
secondary
#80832A
accent
#F038EA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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