#0D0639#0D0639

#0D0639 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.092 H 278.7°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#0D0639
RGBrgb(13, 6, 57)
HSLhsl(248, 81%, 12%)
HSVhsv(248, 89%, 22%)
CMYKcmyk(77.2%, 89.5%, 0%, 77.6%)
CIE-LABlab(4.62, 19.57, -30.48)
CIE-LCHlch(4.62, 36.22, 302.70°)
OKLaboklab(18.22% 0.0139 -0.0912)
OKLCHoklch(18.22% 0.092 278.7)
XYZxyz(0.9694, 0.5111, 3.9177)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0639 #323906
analogous
#061939 #0D0639 #260639
triadic
#0D0639 #390D06 #06390D
tetradic
#0D0639 #390619 #323906 #063926
square
#0D0639 #390619 #323906 #063926
split-complementary
#0D0639 #392606 #193906
monochromatic
#06031C #06031C #0D0639 #1A0C70 #2612A8

Accessibility & contrast

On white

19.05
#0D0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0639
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0639#FFFFFF#000000##FFFFFF
##0D06391.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0639;
/* rgb */ color: rgb(13, 6, 57);
/* oklch */ color: oklch(18.2% 0.092 278.7);
Tailwind
colors: {
  custom: {
    50: '#524870',
    500: '#0d0639',
    950: '#000000',
  },
}
SCSS
$custom: #0d0639;
$custom-light: #524870;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0639",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 248.235,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18215,
    "c": 0.09226,
    "h": 278.7
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#0D0639
secondary
#6D7922
accent
#F730DC
background
#F4F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0D0639

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

Preview Lab → · Contrast checker → · Palette generator →

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