#0D1056#0D1056

#0D1056 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.5% C 0.122 H 270.6°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#0D1056
RGBrgb(13, 16, 86)
HSLhsl(238, 74%, 19%)
HSVhsv(238, 85%, 34%)
CMYKcmyk(84.9%, 81.4%, 0%, 66.3%)
CIE-LABlab(10.01, 26.61, -41.99)
CIE-LCHlch(10.01, 49.71, 302.36°)
OKLaboklab(23.55% 0.0012 -0.1216)
OKLCHoklch(23.55% 0.122 270.6)
XYZxyz(2.0304, 1.1278, 8.9130)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1056 #56530D
analogous
#0D3556 #0D1056 #2F0D56
triadic
#0D1056 #560D10 #10560D
tetradic
#0D1056 #560D35 #56530D #0D562F
square
#0D1056 #560D35 #56530D #0D562F
split-complementary
#0D1056 #562F0D #35560D
monochromatic
#04051B #050621 #0D1056 #151A8B #1D24C0

Accessibility & contrast

On white

17.13
#0D1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1056
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1056#FFFFFF#000000##FFFFFF
##0D10561.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1056;
/* rgb */ color: rgb(13, 16, 86);
/* oklch */ color: oklch(23.5% 0.122 270.6);
Tailwind
colors: {
  custom: {
    50: '#5b4f87',
    500: '#0d1056',
    950: '#000000',
  },
}
SCSS
$custom: #0d1056;
$custom-light: #5b4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1056",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 237.534,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2355,
    "c": 0.12161,
    "h": 270.6
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#0D1056
secondary
#918D2E
accent
#E937F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1056

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

Preview Lab → · Contrast checker → · Palette generator →

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