#0D0C42#0D0C42

#0D0C42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.098 H 274.3°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#0D0C42
RGBrgb(13, 12, 66)
HSLhsl(241, 69%, 15%)
HSVhsv(241, 82%, 26%)
CMYKcmyk(80.3%, 81.8%, 0%, 74.1%)
CIE-LABlab(6.70, 21.13, -33.56)
CIE-LCHlch(6.70, 39.66, 302.20°)
OKLaboklab(20.41% 0.0073 -0.0974)
OKLCHoklch(20.41% 0.098 274.3)
XYZxyz(1.2805, 0.7417, 5.2289)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C42 #41420C
analogous
#0C2642 #0D0C42 #280C42
triadic
#0D0C42 #420D0C #0C420D
tetradic
#0D0C42 #420C26 #41420C #0C4228
square
#0D0C42 #420C26 #41420C #0C4228
split-complementary
#0D0C42 #42280C #26420C
monochromatic
#05051A #05051A #0D0C42 #171576 #211FAA

Accessibility & contrast

On white

18.29
#0D0C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C42
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C42#FFFFFF#000000##FFFFFF
##0D0C421.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001241
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0c42;
/* rgb */ color: rgb(13, 12, 66);
/* oklch */ color: oklch(20.4% 0.098 274.3);
Tailwind
colors: {
  custom: {
    50: '#564b77',
    500: '#0d0c42',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c42;
$custom-light: #564b77;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c42",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 241.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20413,
    "c": 0.0977,
    "h": 274.3
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#0D0C42
secondary
#7D7E2C
accent
#EC3CE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0C42

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

Preview Lab → · Contrast checker → · Palette generator →

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