#0D1045#0D1045

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

Color values

HEX#0D1045
RGBrgb(13, 16, 69)
HSLhsl(237, 68%, 16%)
HSVhsv(237, 81%, 27%)
CMYKcmyk(81.2%, 76.8%, 0%, 72.9%)
CIE-LABlab(8.00, 19.84, -33.55)
CIE-LCHlch(8.00, 38.98, 300.60°)
OKLaboklab(21.51% 0.004 -0.097)
OKLCHoklch(21.51% 0.097 272.4)
XYZxyz(1.4251, 0.8857, 5.7249)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1045 #45420D
analogous
#0D2C45 #0D1045 #260D45
triadic
#0D1045 #450D10 #10450D
tetradic
#0D1045 #450D2C #45420D #0D4526
square
#0D1045 #450D2C #45420D #0D4526
split-complementary
#0D1045 #45260D #2C450D
monochromatic
#05061A #05061A #0D1045 #171C78 #2028AC

Accessibility & contrast

On white

17.84
#0D1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1045
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1045#FFFFFF#000000##FFFFFF
##0D10451.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1045;
/* rgb */ color: rgb(13, 16, 69);
/* oklch */ color: oklch(21.5% 0.097 272.4);
Tailwind
colors: {
  custom: {
    50: '#564e79',
    500: '#0d1045',
    950: '#000000',
  },
}
SCSS
$custom: #0d1045;
$custom-light: #564e79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1045",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 236.786,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21508,
    "c": 0.09709,
    "h": 272.4
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#0D1045
secondary
#807C2D
accent
#E23DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D1045

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

Preview Lab → · Contrast checker → · Palette generator →

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