#0D0642#0D0642

#0D0642 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.105 H 276.0°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#0D0642
RGBrgb(13, 6, 66)
HSLhsl(247, 83%, 14%)
HSVhsv(247, 91%, 26%)
CMYKcmyk(80.3%, 90.9%, 0%, 74.1%)
CIE-LABlab(5.50, 24.21, -35.52)
CIE-LCHlch(5.50, 42.99, 304.27°)
OKLaboklab(19.4% 0.0109 -0.1043)
OKLCHoklch(19.4% 0.105 276)
XYZxyz(1.2142, 0.6090, 5.2068)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0642 #3B4206
analogous
#061D42 #0D0642 #2B0642
triadic
#0D0642 #420D06 #06420D
tetradic
#0D0642 #42061D #3B4206 #06422B
square
#0D0642 #42061D #3B4206 #06422B
split-complementary
#0D0642 #422B06 #1D4206
monochromatic
#06031C #06031C #0D0642 #180B7A #2310B2

Accessibility & contrast

On white

18.72
#0D0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0642
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0642#FFFFFF#000000##FFFFFF
##0D06421.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0642;
/* rgb */ color: rgb(13, 6, 66);
/* oklch */ color: oklch(19.4% 0.105 276.0);
Tailwind
colors: {
  custom: {
    50: '#564877',
    500: '#0d0642',
    950: '#000000',
  },
}
SCSS
$custom: #0d0642;
$custom-light: #564877;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0642",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 247,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19402,
    "c": 0.10483,
    "h": 276
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#0D0642
secondary
#778222
accent
#FA2EE2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0D0642

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

Preview Lab → · Contrast checker → · Palette generator →

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