#0D1054#0D1054

#0D1054 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.119 H 270.8°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0D1054
RGBrgb(13, 16, 84)
HSLhsl(237, 73%, 19%)
HSVhsv(237, 85%, 33%)
CMYKcmyk(84.5%, 81%, 0%, 67.1%)
CIE-LABlab(9.77, 25.84, -41.03)
CIE-LCHlch(9.77, 48.49, 302.20°)
OKLaboklab(23.3% 0.0016 -0.1188)
OKLCHoklch(23.3% 0.119 270.8)
XYZxyz(1.9510, 1.0960, 8.4945)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1054 #54510D
analogous
#0D3454 #0D1054 #2E0D54
triadic
#0D1054 #540D10 #10540D
tetradic
#0D1054 #540D34 #54510D #0D542E
square
#0D1054 #540D34 #54510D #0D542E
split-complementary
#0D1054 #542E0D #34540D
monochromatic
#04051A #05061F #0D1054 #151A89 #1D24BE

Accessibility & contrast

On white

17.22
#0D1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D1054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1054
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1054#FFFFFF#000000##FFFFFF
##0D10541.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001753
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1054;
/* rgb */ color: rgb(13, 16, 84);
/* oklch */ color: oklch(23.3% 0.119 270.8);
Tailwind
colors: {
  custom: {
    50: '#5b4f85',
    500: '#0d1054',
    950: '#000000',
  },
}
SCSS
$custom: #0d1054;
$custom-light: #5b4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1054",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 237.465,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23302,
    "c": 0.11883,
    "h": 270.8
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#0D1054
secondary
#8F8B2E
accent
#E838F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1054

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

Preview Lab → · Contrast checker → · Palette generator →

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