#0D0843#0D0843

#0D0843 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.104 H 275.2°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0D0843
RGBrgb(13, 8, 67)
HSLhsl(245, 79%, 15%)
HSVhsv(245, 88%, 26%)
CMYKcmyk(80.6%, 88.1%, 0%, 73.7%)
CIE-LABlab(6.00, 23.68, -35.41)
CIE-LCHlch(6.00, 42.60, 303.77°)
OKLaboklab(19.88% 0.0094 -0.1034)
OKLCHoklch(19.88% 0.104 275.2)
XYZxyz(1.2656, 0.6644, 5.3706)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0843 #3E4308
analogous
#082043 #0D0843 #2B0843
triadic
#0D0843 #430D08 #08430D
tetradic
#0D0843 #430820 #3E4308 #08432B
square
#0D0843 #430820 #3E4308 #08432B
split-complementary
#0D0843 #432B08 #204308
monochromatic
#05031B #05031B #0D0843 #180F7A #2215B0

Accessibility & contrast

On white

18.54
#0D0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0843
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0843#FFFFFF#000000##FFFFFF
##0D08431.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001142
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0843;
/* rgb */ color: rgb(13, 8, 67);
/* oklch */ color: oklch(19.9% 0.104 275.2);
Tailwind
colors: {
  custom: {
    50: '#564978',
    500: '#0d0843',
    950: '#000000',
  },
}
SCSS
$custom: #0d0843;
$custom-light: #564978;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0843",
  "rgb": {
    "r": 13,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 245.085,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19875,
    "c": 0.1038,
    "h": 275.2
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#0D0843
secondary
#7A8125
accent
#F533E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0843

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

Preview Lab → · Contrast checker → · Palette generator →

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