#0D1047#0D1047

#0D1047 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.100 H 272.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#0D1047
RGBrgb(13, 16, 71)
HSLhsl(237, 69%, 16%)
HSVhsv(237, 82%, 28%)
CMYKcmyk(81.7%, 77.5%, 0%, 72.2%)
CIE-LABlab(8.23, 20.66, -34.58)
CIE-LCHlch(8.23, 40.28, 300.86°)
OKLaboklab(21.74% 0.0038 -0.1)
OKLCHoklch(21.74% 0.1 272.2)
XYZxyz(1.4882, 0.9109, 6.0574)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1047 #47440D
analogous
#0D2D47 #0D1047 #270D47
triadic
#0D1047 #470D10 #10470D
tetradic
#0D1047 #470D2D #47440D #0D4727
square
#0D1047 #470D2D #47440D #0D4727
split-complementary
#0D1047 #47270D #2D470D
monochromatic
#05061A #05061A #0D1047 #161C7B #2027AE

Accessibility & contrast

On white

17.76
#0D1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1047
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1047#FFFFFF#000000##FFFFFF
##0D10471.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1047;
/* rgb */ color: rgb(13, 16, 71);
/* oklch */ color: oklch(21.7% 0.100 272.2);
Tailwind
colors: {
  custom: {
    50: '#574e7b',
    500: '#0d1047',
    950: '#000000',
  },
}
SCSS
$custom: #0d1047;
$custom-light: #574e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1047",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 236.897,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21739,
    "c": 0.1001,
    "h": 272.2
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#0D1047
secondary
#827E2D
accent
#E33CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D1047

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

Preview Lab → · Contrast checker → · Palette generator →

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