#0D0C4B#0D0C4B

#0D0C4B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.111 H 272.7°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#0D0C4B
RGBrgb(13, 12, 75)
HSLhsl(241, 72%, 17%)
HSVhsv(241, 84%, 29%)
CMYKcmyk(82.7%, 84%, 0%, 70.6%)
CIE-LABlab(7.73, 24.95, -38.19)
CIE-LCHlch(7.73, 45.61, 303.16°)
OKLaboklab(21.53% 0.0053 -0.1105)
OKLCHoklch(21.53% 0.111 272.7)
XYZxyz(1.5670, 0.8563, 6.7380)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C4B #4A4B0C
analogous
#0C2B4B #0D0C4B #2D0C4B
triadic
#0D0C4B #4B0D0C #0C4B0D
tetradic
#0D0C4B #4B0C2B #4A4B0C #0C4B2D
square
#0D0C4B #4B0C2B #4A4B0C #0C4B2D
split-complementary
#0D0C4B #4B2D0C #2B4B0C
monochromatic
#05041A #05041A #0D0C4B #161480 #1F1DB5

Accessibility & contrast

On white

17.93
#0D0C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D0C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C4B
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C4B#FFFFFF#000000##FFFFFF
##0D0C4B1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00144A
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d0c4b;
/* rgb */ color: rgb(13, 12, 75);
/* oklch */ color: oklch(21.5% 0.111 272.7);
Tailwind
colors: {
  custom: {
    50: '#584c7e',
    500: '#0d0c4b',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c4b;
$custom-light: #584c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c4b",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 240.952,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2153,
    "c": 0.11065,
    "h": 272.7
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#0D0C4B
secondary
#85872C
accent
#EF39EC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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