#0D0846#0D0846

#0D0846 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.108 H 274.5°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0D0846
RGBrgb(13, 8, 70)
HSLhsl(245, 79%, 15%)
HSVhsv(245, 89%, 27%)
CMYKcmyk(81.4%, 88.6%, 0%, 72.5%)
CIE-LABlab(6.33, 25.05, -36.99)
CIE-LCHlch(6.33, 44.68, 304.11°)
OKLaboklab(20.27% 0.0086 -0.1076)
OKLCHoklch(20.27% 0.108 274.5)
XYZxyz(1.3579, 0.7013, 5.8570)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0846 #414608
analogous
#082246 #0D0846 #2C0846
triadic
#0D0846 #460D08 #08460D
tetradic
#0D0846 #460822 #414608 #08462C
square
#0D0846 #460822 #414608 #08462C
split-complementary
#0D0846 #462C08 #224608
monochromatic
#05031B #05031B #0D0846 #170E7D #2115B4

Accessibility & contrast

On white

18.42
#0D0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0846
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0846#FFFFFF#000000##FFFFFF
##0D08461.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001145
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0846;
/* rgb */ color: rgb(13, 8, 70);
/* oklch */ color: oklch(20.3% 0.108 274.5);
Tailwind
colors: {
  custom: {
    50: '#57497a',
    500: '#0d0846',
    950: '#000000',
  },
}
SCSS
$custom: #0d0846;
$custom-light: #57497a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0846",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 244.839,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20268,
    "c": 0.10797,
    "h": 274.5
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#0D0846
secondary
#7D8426
accent
#F632E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0846

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

Preview Lab → · Contrast checker → · Palette generator →

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