#0D0C47#0D0C47

#0D0C47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.105 H 273.4°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#0D0C47
RGBrgb(13, 12, 71)
HSLhsl(241, 71%, 16%)
HSVhsv(241, 83%, 28%)
CMYKcmyk(81.7%, 83.1%, 0%, 72.2%)
CIE-LABlab(7.26, 23.32, -36.18)
CIE-LCHlch(7.26, 43.04, 302.80°)
OKLaboklab(21.03% 0.0062 -0.1048)
OKLCHoklch(21.03% 0.105 273.4)
XYZxyz(1.4344, 0.8033, 6.0395)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C47 #46470C
analogous
#0C2947 #0D0C47 #2B0C47
triadic
#0D0C47 #470D0C #0C470D
tetradic
#0D0C47 #470C29 #46470C #0C472B
square
#0D0C47 #470C29 #46470C #0C472B
split-complementary
#0D0C47 #472B0C #29470C
monochromatic
#05041A #05041A #0D0C47 #17157B #201EB0

Accessibility & contrast

On white

18.09
#0D0C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D0C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C47
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C47#FFFFFF#000000##FFFFFF
##0D0C471.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0c47;
/* rgb */ color: rgb(13, 12, 71);
/* oklch */ color: oklch(21.0% 0.105 273.4);
Tailwind
colors: {
  custom: {
    50: '#574b7b',
    500: '#0d0c47',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c47;
$custom-light: #574b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c47",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 241.017,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21028,
    "c": 0.10497,
    "h": 273.4
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#0D0C47
secondary
#81832C
accent
#EE3AEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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