#0D0D56#0D0D56

#0D0D56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.1% C 0.125 H 271.1°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#0D0D56
RGBrgb(13, 13, 86)
HSLhsl(240, 74%, 19%)
HSVhsv(240, 85%, 34%)
CMYKcmyk(84.9%, 84.9%, 0%, 66.3%)
CIE-LABlab(9.36, 28.47, -43.07)
CIE-LCHlch(9.36, 51.63, 303.46°)
OKLaboklab(23.09% 0.0023 -0.1247)
OKLCHoklch(23.09% 0.125 271.1)
XYZxyz(1.9890, 1.0451, 8.8992)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D56 #56560D
analogous
#0D3256 #0D0D56 #320D56
triadic
#0D0D56 #560D0D #0D560D
tetradic
#0D0D56 #560D32 #56560D #0D5632
square
#0D0D56 #560D32 #56560D #0D5632
split-complementary
#0D0D56 #56320D #32560D
monochromatic
#04041B #050521 #0D0D56 #15158B #1D1DC0

Accessibility & contrast

On white

17.37
#0D0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D56
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D56#FFFFFF#000000##FFFFFF
##0D0D561.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001655
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d0d56;
/* rgb */ color: rgb(13, 13, 86);
/* oklch */ color: oklch(23.1% 0.125 271.1);
Tailwind
colors: {
  custom: {
    50: '#5c4d87',
    500: '#0d0d56',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d56;
$custom-light: #5c4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d56",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2309,
    "c": 0.12471,
    "h": 271.1
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#0D0D56
secondary
#91912E
accent
#F037F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0D0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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