#0D0C46#0D0C46

#0D0C46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.104 H 273.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0D0C46
RGBrgb(13, 12, 70)
HSLhsl(241, 71%, 16%)
HSVhsv(241, 83%, 27%)
CMYKcmyk(81.4%, 82.9%, 0%, 72.5%)
CIE-LABlab(7.14, 22.89, -35.66)
CIE-LCHlch(7.14, 42.38, 302.70°)
OKLaboklab(20.9% 0.0064 -0.1033)
OKLCHoklch(20.9% 0.104 273.6)
XYZxyz(1.4026, 0.7906, 5.8718)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C46 #45460C
analogous
#0C2846 #0D0C46 #2A0C46
triadic
#0D0C46 #460D0C #0C460D
tetradic
#0D0C46 #460C28 #45460C #0C462A
square
#0D0C46 #460C28 #45460C #0C462A
split-complementary
#0D0C46 #462A0C #28460C
monochromatic
#05041A #05041A #0D0C46 #17157A #201EAE

Accessibility & contrast

On white

18.13
#0D0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0C46
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C46#FFFFFF#000000##FFFFFF
##0D0C461.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0c46;
/* rgb */ color: rgb(13, 12, 70);
/* oklch */ color: oklch(20.9% 0.104 273.6);
Tailwind
colors: {
  custom: {
    50: '#574b7a',
    500: '#0d0c46',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c46;
$custom-light: #574b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c46",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 241.034,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20904,
    "c": 0.10354,
    "h": 273.6
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#0D0C46
secondary
#80822C
accent
#ED3AEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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