#0D0B4A#0D0B4A

#0D0B4A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.110 H 273.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0D0B4A
RGBrgb(13, 11, 74)
HSLhsl(242, 74%, 17%)
HSVhsv(242, 85%, 29%)
CMYKcmyk(82.4%, 85.1%, 0%, 71%)
CIE-LABlab(7.40, 25.15, -38.04)
CIE-LCHlch(7.40, 45.60, 303.47°)
OKLaboklab(21.25% 0.006 -0.1102)
OKLCHoklch(21.25% 0.11 273.1)
XYZxyz(1.5213, 0.8192, 6.5552)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B4A #484A0B
analogous
#0B294A #0D0B4A #2D0B4A
triadic
#0D0B4A #4A0D0B #0B4A0D
tetradic
#0D0B4A #4A0B29 #484A0B #0B4A2D
square
#0D0B4A #4A0B29 #484A0B #0B4A2D
split-complementary
#0D0B4A #4A2D0B #294A0B
monochromatic
#05041B #05041B #0D0B4A #16137F #201BB5

Accessibility & contrast

On white

18.04
#0D0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0B4A
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B4A#FFFFFF#000000##FFFFFF
##0D0B4A1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001349
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0b4a;
/* rgb */ color: rgb(13, 11, 74);
/* oklch */ color: oklch(21.2% 0.110 273.1);
Tailwind
colors: {
  custom: {
    50: '#584b7d',
    500: '#0d0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b4a;
$custom-light: #584b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b4a",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 241.905,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21247,
    "c": 0.11032,
    "h": 273.1
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#0D0B4A
secondary
#83862B
accent
#F137EB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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