#0D1046#0D1046

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

Color values

HEX#0D1046
RGBrgb(13, 16, 70)
HSLhsl(237, 69%, 16%)
HSVhsv(237, 81%, 27%)
CMYKcmyk(81.4%, 77.1%, 0%, 72.5%)
CIE-LABlab(8.11, 20.25, -34.06)
CIE-LCHlch(8.11, 39.63, 300.74°)
OKLaboklab(21.62% 0.0039 -0.0985)
OKLCHoklch(21.62% 0.099 272.3)
XYZxyz(1.4564, 0.8982, 5.8898)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1046 #46430D
analogous
#0D2D46 #0D1046 #270D46
triadic
#0D1046 #460D10 #10460D
tetradic
#0D1046 #460D2D #46430D #0D4627
square
#0D1046 #460D2D #46430D #0D4627
split-complementary
#0D1046 #46270D #2D460D
monochromatic
#05061A #05061A #0D1046 #171C7A #2028AD

Accessibility & contrast

On white

17.80
#0D1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1046
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1046#FFFFFF#000000##FFFFFF
##0D10461.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1046;
/* rgb */ color: rgb(13, 16, 70);
/* oklch */ color: oklch(21.6% 0.099 272.3);
Tailwind
colors: {
  custom: {
    50: '#564e7a',
    500: '#0d1046',
    950: '#000000',
  },
}
SCSS
$custom: #0d1046;
$custom-light: #564e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1046",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 236.842,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21623,
    "c": 0.09861,
    "h": 272.3
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#0D1046
secondary
#817D2D
accent
#E23CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D1046

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

Preview Lab → · Contrast checker → · Palette generator →

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