#0D0849#0D0849

#0D0849 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.7% C 0.112 H 273.9°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#0D0849
RGBrgb(13, 8, 73)
HSLhsl(245, 80%, 16%)
HSVhsv(245, 89%, 29%)
CMYKcmyk(82.2%, 89%, 0%, 71.4%)
CIE-LABlab(6.69, 26.37, -38.52)
CIE-LCHlch(6.69, 46.68, 304.39°)
OKLaboklab(20.67% 0.0077 -0.1118)
OKLCHoklch(20.67% 0.112 273.9)
XYZxyz(1.4550, 0.7401, 6.3682)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0849 #444908
analogous
#082349 #0D0849 #2D0849
triadic
#0D0849 #490D08 #08490D
tetradic
#0D0849 #490823 #444908 #08492D
square
#0D0849 #490823 #444908 #08492D
split-complementary
#0D0849 #492D08 #234908
monochromatic
#05031C #05031C #0D0849 #170E80 #2114B7

Accessibility & contrast

On white

18.29
#0D0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0849
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0849#FFFFFF#000000##FFFFFF
##0D08491.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184B
Deuteranopia (green-blind)
#001248
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0849;
/* rgb */ color: rgb(13, 8, 73);
/* oklch */ color: oklch(20.7% 0.112 273.9);
Tailwind
colors: {
  custom: {
    50: '#58497d',
    500: '#0d0849',
    950: '#000000',
  },
}
SCSS
$custom: #0d0849;
$custom-light: #58497d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0849",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 244.615,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.20665,
    "c": 0.11208,
    "h": 273.9
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#0D0849
secondary
#7F8726
accent
#F731E7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0849

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

Preview Lab → · Contrast checker → · Palette generator →

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