#0D0C45#0D0C45

#0D0C45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.102 H 273.7°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0D0C45
RGBrgb(13, 12, 69)
HSLhsl(241, 70%, 16%)
HSVhsv(241, 83%, 27%)
CMYKcmyk(81.2%, 82.6%, 0%, 72.9%)
CIE-LABlab(7.03, 22.46, -35.15)
CIE-LCHlch(7.03, 41.71, 302.59°)
OKLaboklab(20.78% 0.0066 -0.1019)
OKLCHoklch(20.78% 0.102 273.7)
XYZxyz(1.3713, 0.7780, 5.7070)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C45 #44450C
analogous
#0C2745 #0D0C45 #290C45
triadic
#0D0C45 #450D0C #0C450D
tetradic
#0D0C45 #450C27 #44450C #0C4529
square
#0D0C45 #450C27 #44450C #0C4529
split-complementary
#0D0C45 #45290C #27450C
monochromatic
#05051A #05051A #0D0C45 #171579 #211EAD

Accessibility & contrast

On white

18.17
#0D0C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0C45
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C45#FFFFFF#000000##FFFFFF
##0D0C451.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001344
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0c45;
/* rgb */ color: rgb(13, 12, 69);
/* oklch */ color: oklch(20.8% 0.102 273.7);
Tailwind
colors: {
  custom: {
    50: '#574b79',
    500: '#0d0c45',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c45;
$custom-light: #574b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c45",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 241.053,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2078,
    "c": 0.10209,
    "h": 273.7
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#0D0C45
secondary
#7F812C
accent
#ED3BEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0C45

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

Preview Lab → · Contrast checker → · Palette generator →

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