#0D0B56#0D0B56

#0D0B56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.8% C 0.127 H 271.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#0D0B56
RGBrgb(13, 11, 86)
HSLhsl(242, 77%, 19%)
HSVhsv(242, 87%, 34%)
CMYKcmyk(84.9%, 87.2%, 0%, 66.3%)
CIE-LABlab(8.96, 29.62, -43.73)
CIE-LCHlch(8.96, 52.82, 304.12°)
OKLaboklab(22.81% 0.003 -0.1266)
OKLCHoklch(22.81% 0.127 271.4)
XYZxyz(1.9648, 0.9966, 8.8911)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B56 #54560B
analogous
#0B2F56 #0D0B56 #330B56
triadic
#0D0B56 #560D0B #0B560D
tetradic
#0D0B56 #560B2F #54560B #0B5633
square
#0D0B56 #560B2F #54560B #0B5633
split-complementary
#0D0B56 #56330B #2F560B
monochromatic
#04031B #050420 #0D0B56 #15128C #1D19C3

Accessibility & contrast

On white

17.51
#0D0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B56
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B56#FFFFFF#000000##FFFFFF
##0D0B561.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D58
Deuteranopia (green-blind)
#001655
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d0b56;
/* rgb */ color: rgb(13, 11, 86);
/* oklch */ color: oklch(22.8% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#5c4c87',
    500: '#0d0b56',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b56;
$custom-light: #5c4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b56",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 241.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22812,
    "c": 0.12661,
    "h": 271.4
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#0D0B56
secondary
#8F912B
accent
#F434EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0D0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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