#0D0847#0D0847

#0D0847 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.109 H 274.3°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#0D0847
RGBrgb(13, 8, 71)
HSLhsl(245, 80%, 15%)
HSVhsv(245, 89%, 28%)
CMYKcmyk(81.7%, 88.7%, 0%, 72.2%)
CIE-LABlab(6.45, 25.50, -37.51)
CIE-LCHlch(6.45, 45.35, 304.21°)
OKLaboklab(20.4% 0.0083 -0.109)
OKLCHoklch(20.4% 0.109 274.3)
XYZxyz(1.3898, 0.7140, 6.0246)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0847 #424708
analogous
#082247 #0D0847 #2C0847
triadic
#0D0847 #470D08 #08470D
tetradic
#0D0847 #470822 #424708 #08472C
square
#0D0847 #470822 #424708 #08472C
split-complementary
#0D0847 #472C08 #224708
monochromatic
#05031C #05031C #0D0847 #170E7E #2114B5

Accessibility & contrast

On white

18.38
#0D0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0847
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0847#FFFFFF#000000##FFFFFF
##0D08471.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001146
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0847;
/* rgb */ color: rgb(13, 8, 71);
/* oklch */ color: oklch(20.4% 0.109 274.3);
Tailwind
colors: {
  custom: {
    50: '#57497b',
    500: '#0d0847',
    950: '#000000',
  },
}
SCSS
$custom: #0d0847;
$custom-light: #57497b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0847",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 244.762,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.204,
    "c": 0.10934,
    "h": 274.3
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#0D0847
secondary
#7E8526
accent
#F632E7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0847

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

Preview Lab → · Contrast checker → · Palette generator →

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