#0D0646#0D0646

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

Color values

HEX#0D0646
RGBrgb(13, 6, 70)
HSLhsl(247, 84%, 15%)
HSVhsv(247, 91%, 27%)
CMYKcmyk(81.4%, 91.4%, 0%, 72.5%)
CIE-LABlab(5.94, 26.09, -37.63)
CIE-LCHlch(5.94, 45.80, 304.74°)
OKLaboklab(19.94% 0.0096 -0.1098)
OKLCHoklch(19.94% 0.11 275)
XYZxyz(1.3362, 0.6579, 5.8497)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0646 #3F4606
analogous
#061F46 #0D0646 #2D0646
triadic
#0D0646 #460D06 #06460D
tetradic
#0D0646 #46061F #3F4606 #06462D
square
#0D0646 #46061F #3F4606 #06462D
split-complementary
#0D0646 #462D06 #1F4606
monochromatic
#05021C #05021C #0D0646 #170B7E #2210B7

Accessibility & contrast

On white

18.56
#0D0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0646
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0646#FFFFFF#000000##FFFFFF
##0D06461.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0646;
/* rgb */ color: rgb(13, 6, 70);
/* oklch */ color: oklch(19.9% 0.110 275.0);
Tailwind
colors: {
  custom: {
    50: '#57487a',
    500: '#0d0646',
    950: '#000000',
  },
}
SCSS
$custom: #0d0646;
$custom-light: #57487a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0646",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 246.563,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.19943,
    "c": 0.11026,
    "h": 275
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#0D0646
secondary
#7B8522
accent
#FA2DE4
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0D0646

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

Preview Lab → · Contrast checker → · Palette generator →

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