#0D0C4F#0D0C4F

#0D0C4F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.116 H 272.1°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#0D0C4F
RGBrgb(13, 12, 79)
HSLhsl(241, 74%, 18%)
HSVhsv(241, 85%, 31%)
CMYKcmyk(83.5%, 84.8%, 0%, 69%)
CIE-LABlab(8.24, 26.48, -40.12)
CIE-LCHlch(8.24, 48.07, 303.42°)
OKLaboklab(22.04% 0.0044 -0.1161)
OKLCHoklch(22.04% 0.116 272.1)
XYZxyz(1.7083, 0.9128, 7.4818)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C4F #4E4F0C
analogous
#0C2C4F #0D0C4F #2F0C4F
triadic
#0D0C4F #4F0D0C #0C4F0D
tetradic
#0D0C4F #4F0C2C #4E4F0C #0C4F2F
square
#0D0C4F #4F0C2C #4E4F0C #0C4F2F
split-complementary
#0D0C4F #4F2F0C #2C4F0C
monochromatic
#04041B #04041B #0D0C4F #161484 #1E1CB9

Accessibility & contrast

On white

17.76
#0D0C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D0C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C4F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C4F#FFFFFF#000000##FFFFFF
##0D0C4F1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B51
Deuteranopia (green-blind)
#00154E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d0c4f;
/* rgb */ color: rgb(13, 12, 79);
/* oklch */ color: oklch(22.0% 0.116 272.1);
Tailwind
colors: {
  custom: {
    50: '#5a4c81',
    500: '#0d0c4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c4f;
$custom-light: #5a4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c4f",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 240.896,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2204,
    "c": 0.1162,
    "h": 272.1
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#0D0C4F
secondary
#898B2C
accent
#F038EE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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