#0D0B4C#0D0B4C

#0D0B4C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.5% C 0.113 H 272.8°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#0D0B4C
RGBrgb(13, 11, 76)
HSLhsl(242, 75%, 17%)
HSVhsv(242, 86%, 30%)
CMYKcmyk(82.9%, 85.5%, 0%, 70.2%)
CIE-LABlab(7.65, 25.94, -39.03)
CIE-LCHlch(7.65, 46.86, 303.61°)
OKLaboklab(21.5% 0.0055 -0.113)
OKLCHoklch(21.5% 0.113 272.8)
XYZxyz(1.5897, 0.8465, 6.9157)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B4C #4A4C0B
analogous
#0B2A4C #0D0B4C #2E0B4C
triadic
#0D0B4C #4C0D0B #0B4C0D
tetradic
#0D0B4C #4C0B2A #4A4C0B #0B4C2E
square
#0D0B4C #4C0B2A #4A4C0B #0B4C2E
split-complementary
#0D0B4C #4C2E0B #2A4C0B
monochromatic
#05041B #05041B #0D0B4C #161381 #1F1AB7

Accessibility & contrast

On white

17.96
#0D0B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D0B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B4C
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B4C#FFFFFF#000000##FFFFFF
##0D0B4C1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4E
Deuteranopia (green-blind)
#00144B
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d0b4c;
/* rgb */ color: rgb(13, 11, 76);
/* oklch */ color: oklch(21.5% 0.113 272.8);
Tailwind
colors: {
  custom: {
    50: '#594b7f',
    500: '#0d0b4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b4c;
$custom-light: #594b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b4c",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 241.846,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21504,
    "c": 0.1131,
    "h": 272.8
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#0D0B4C
secondary
#85882B
accent
#F136EC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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