#0D1147#0D1147

#0D1147 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.099 H 271.8°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#0D1147
RGBrgb(13, 17, 71)
HSLhsl(236, 69%, 16%)
HSVhsv(236, 82%, 28%)
CMYKcmyk(81.7%, 76.1%, 0%, 72.2%)
CIE-LABlab(8.49, 19.94, -34.14)
CIE-LCHlch(8.49, 39.54, 300.29°)
OKLaboklab(21.93% 0.0031 -0.0987)
OKLCHoklch(21.93% 0.099 271.8)
XYZxyz(1.5034, 0.9412, 6.0625)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1147 #47430D
analogous
#0D2E47 #0D1147 #260D47
triadic
#0D1147 #470D11 #11470D
tetradic
#0D1147 #470D2E #47430D #0D4726
square
#0D1147 #470D2E #47430D #0D4726
split-complementary
#0D1147 #47260D #2E470D
monochromatic
#05061A #05061A #0D1147 #161D7B #202AAE

Accessibility & contrast

On white

17.67
#0D1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1147
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1147#FFFFFF#000000##FFFFFF
##0D11471.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1147;
/* rgb */ color: rgb(13, 17, 71);
/* oklch */ color: oklch(21.9% 0.099 271.8);
Tailwind
colors: {
  custom: {
    50: '#574f7b',
    500: '#0d1147',
    950: '#000000',
  },
}
SCSS
$custom: #0d1147;
$custom-light: #574f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1147",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 235.862,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21931,
    "c": 0.0988,
    "h": 271.8
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#0D1147
secondary
#827D2D
accent
#E03CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0D1147

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

Preview Lab → · Contrast checker → · Palette generator →

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