#0D0D4F#0D0D4F

#0D0D4F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.115 H 272.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0D0D4F
RGBrgb(13, 13, 79)
HSLhsl(240, 72%, 18%)
HSVhsv(240, 84%, 31%)
CMYKcmyk(83.5%, 83.5%, 0%, 69%)
CIE-LABlab(8.46, 25.85, -39.76)
CIE-LCHlch(8.46, 47.42, 303.03°)
OKLaboklab(22.19% 0.0039 -0.1151)
OKLCHoklch(22.19% 0.115 272)
XYZxyz(1.7207, 0.9377, 7.4859)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D4F #4F4F0D
analogous
#0D2E4F #0D0D4F #2E0D4F
triadic
#0D0D4F #4F0D0D #0D4F0D
tetradic
#0D0D4F #4F0D2E #4F4F0D #0D4F2E
square
#0D0D4F #4F0D2E #4F4F0D #0D4F2E
split-complementary
#0D0D4F #4F2E0D #2E4F0D
monochromatic
#04041A #04041A #0D0D4F #161684 #1E1EB8

Accessibility & contrast

On white

17.68
#0D0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D4F
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D4F#FFFFFF#000000##FFFFFF
##0D0D4F1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0d4f;
/* rgb */ color: rgb(13, 13, 79);
/* oklch */ color: oklch(22.2% 0.115 272.0);
Tailwind
colors: {
  custom: {
    50: '#5a4c81',
    500: '#0d0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d4f;
$custom-light: #5a4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d4f",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 240,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22194,
    "c": 0.11516,
    "h": 272
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#0D0D4F
secondary
#8A8A2E
accent
#EE39EE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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