#0D0B48#0D0B48

#0D0B48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.108 H 273.5°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0D0B48
RGBrgb(13, 11, 72)
HSLhsl(242, 73%, 16%)
HSVhsv(242, 85%, 28%)
CMYKcmyk(81.9%, 84.7%, 0%, 71.8%)
CIE-LABlab(7.16, 24.32, -37.04)
CIE-LCHlch(7.16, 44.31, 303.29°)
OKLaboklab(20.99% 0.0065 -0.1073)
OKLCHoklch(20.99% 0.108 273.5)
XYZxyz(1.4550, 0.7926, 6.2060)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0B48 #46480B
analogous
#0B2848 #0D0B48 #2C0B48
triadic
#0D0B48 #480D0B #0B480D
tetradic
#0D0B48 #480B28 #46480B #0B482C
square
#0D0B48 #480B28 #46480B #0B482C
split-complementary
#0D0B48 #482C0B #28480B
monochromatic
#05041B #05041B #0D0B48 #17137D #201BB2

Accessibility & contrast

On white

18.13
#0D0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0B48
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0B48#FFFFFF#000000##FFFFFF
##0D0B481.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001347
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0b48;
/* rgb */ color: rgb(13, 11, 72);
/* oklch */ color: oklch(21.0% 0.108 273.5);
Tailwind
colors: {
  custom: {
    50: '#584b7c',
    500: '#0d0b48',
    950: '#000000',
  },
}
SCSS
$custom: #0d0b48;
$custom-light: #584b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0b48",
  "rgb": {
    "r": 13,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 241.967,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.20992,
    "c": 0.10752,
    "h": 273.5
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#0D0B48
secondary
#81842A
accent
#F038EA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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