#0D0637#0D0637

#0D0637 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.089 H 279.4°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#0D0637
RGBrgb(13, 6, 55)
HSLhsl(249, 80%, 12%)
HSVhsv(249, 89%, 22%)
CMYKcmyk(76.4%, 89.1%, 0%, 78.4%)
CIE-LABlab(4.44, 18.47, -29.30)
CIE-LCHlch(4.44, 34.64, 302.22°)
OKLaboklab(17.96% 0.0146 -0.0882)
OKLCHoklch(17.96% 0.089 279.4)
XYZxyz(0.9205, 0.4916, 3.6601)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0637 #303706
analogous
#061837 #0D0637 #260637
triadic
#0D0637 #370D06 #06370D
tetradic
#0D0637 #370618 #303706 #063726
square
#0D0637 #370618 #303706 #063726
split-complementary
#0D0637 #372606 #183706
monochromatic
#07031C #07031C #0D0637 #1A0C6E #2712A5

Accessibility & contrast

On white

19.12
#0D0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D0637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0637
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0637#FFFFFF#000000##FFFFFF
##0D06371.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000D36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d0637;
/* rgb */ color: rgb(13, 6, 55);
/* oklch */ color: oklch(18.0% 0.089 279.4);
Tailwind
colors: {
  custom: {
    50: '#52486e',
    500: '#0d0637',
    950: '#000000',
  },
}
SCSS
$custom: #0d0637;
$custom-light: #52486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0637",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 248.571,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17957,
    "c": 0.08938,
    "h": 279.4
  },
  "luminance": 0.00492
}

Semantic roles & 50–950 ramp

primary
#0D0637
secondary
#6B7721
accent
#F731DB
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0637

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

Preview Lab → · Contrast checker → · Palette generator →

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