#0D0C41#0D0C41

#0D0C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.096 H 274.5°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#0D0C41
RGBrgb(13, 12, 65)
HSLhsl(241, 69%, 15%)
HSVhsv(241, 82%, 25%)
CMYKcmyk(80%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.59, 20.67, -33.02)
CIE-LCHlch(6.59, 38.96, 302.05°)
OKLaboklab(20.29% 0.0075 -0.0959)
OKLCHoklch(20.29% 0.096 274.5)
XYZxyz(1.2513, 0.7300, 5.0750)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C41 #40410C
analogous
#0C2541 #0D0C41 #270C41
triadic
#0D0C41 #410D0C #0C410D
tetradic
#0D0C41 #410C25 #40410C #0C4127
square
#0D0C41 #410C25 #40410C #0C4127
split-complementary
#0D0C41 #41270C #25410C
monochromatic
#05051A #05051A #0D0C41 #171675 #221FA8

Accessibility & contrast

On white

18.32
#0D0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0C41
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C41#FFFFFF#000000##FFFFFF
##0D0C411.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0c41;
/* rgb */ color: rgb(13, 12, 65);
/* oklch */ color: oklch(20.3% 0.096 274.5);
Tailwind
colors: {
  custom: {
    50: '#554b76',
    500: '#0d0c41',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c41;
$custom-light: #554b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c41",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 241.132,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20292,
    "c": 0.09622,
    "h": 274.5
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#0D0C41
secondary
#7C7D2C
accent
#EC3CE8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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