#0D1146#0D1146

#0D1146 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.097 H 271.9°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#0D1146
RGBrgb(13, 17, 70)
HSLhsl(236, 69%, 16%)
HSVhsv(236, 81%, 27%)
CMYKcmyk(81.4%, 75.7%, 0%, 72.5%)
CIE-LABlab(8.38, 19.53, -33.62)
CIE-LCHlch(8.38, 38.88, 300.15°)
OKLaboklab(21.82% 0.0032 -0.0972)
OKLCHoklch(21.82% 0.097 271.9)
XYZxyz(1.4715, 0.9285, 5.8948)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1146 #46420D
analogous
#0D2E46 #0D1146 #260D46
triadic
#0D1146 #460D11 #11460D
tetradic
#0D1146 #460D2E #46420D #0D4626
square
#0D1146 #460D2E #46420D #0D4626
split-complementary
#0D1146 #46260D #2E460D
monochromatic
#05061A #05061A #0D1146 #171E7A #202AAD

Accessibility & contrast

On white

17.71
#0D1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1146
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1146#FFFFFF#000000##FFFFFF
##0D11461.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1146;
/* rgb */ color: rgb(13, 17, 70);
/* oklch */ color: oklch(21.8% 0.097 271.9);
Tailwind
colors: {
  custom: {
    50: '#564f7a',
    500: '#0d1146',
    950: '#000000',
  },
}
SCSS
$custom: #0d1146;
$custom-light: #564f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1146",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 235.789,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21817,
    "c": 0.09729,
    "h": 271.9
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#0D1146
secondary
#817C2D
accent
#DF3CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D1146

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

Preview Lab → · Contrast checker → · Palette generator →

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