#0D0641#0D0641

#0D0641 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.103 H 276.3°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#0D0641
RGBrgb(13, 6, 65)
HSLhsl(247, 83%, 14%)
HSVhsv(247, 91%, 25%)
CMYKcmyk(80%, 90.8%, 0%, 74.5%)
CIE-LABlab(5.40, 23.71, -34.98)
CIE-LCHlch(5.40, 42.26, 304.13°)
OKLaboklab(19.27% 0.0113 -0.1028)
OKLCHoklch(19.27% 0.103 276.3)
XYZxyz(1.1849, 0.5974, 5.0529)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0641 #3A4106
analogous
#061D41 #0D0641 #2B0641
triadic
#0D0641 #410D06 #06410D
tetradic
#0D0641 #41061D #3A4106 #06412B
square
#0D0641 #41061D #3A4106 #06412B
split-complementary
#0D0641 #412B06 #1D4106
monochromatic
#06031C #06031C #0D0641 #180B79 #2310B1

Accessibility & contrast

On white

18.76
#0D0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0D0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0641
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0641#FFFFFF#000000##FFFFFF
##0D06411.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d0641;
/* rgb */ color: rgb(13, 6, 65);
/* oklch */ color: oklch(19.3% 0.103 276.3);
Tailwind
colors: {
  custom: {
    50: '#554876',
    500: '#0d0641',
    950: '#000000',
  },
}
SCSS
$custom: #0d0641;
$custom-light: #554876;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0641",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 247.119,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19268,
    "c": 0.10347,
    "h": 276.3
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#0D0641
secondary
#768122
accent
#F92EE1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D0641

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

Preview Lab → · Contrast checker → · Palette generator →

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