#0D0D4D#0D0D4D

#0D0D4D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.112 H 272.2°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#0D0D4D
RGBrgb(13, 13, 77)
HSLhsl(240, 71%, 18%)
HSVhsv(240, 83%, 30%)
CMYKcmyk(83.1%, 83.1%, 0%, 69.8%)
CIE-LABlab(8.21, 25.09, -38.79)
CIE-LCHlch(8.21, 46.19, 302.89°)
OKLaboklab(21.94% 0.0044 -0.1123)
OKLCHoklch(21.94% 0.112 272.2)
XYZxyz(1.6490, 0.9091, 7.1083)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D4D #4D4D0D
analogous
#0D2D4D #0D0D4D #2D0D4D
triadic
#0D0D4D #4D0D0D #0D4D0D
tetradic
#0D0D4D #4D0D2D #4D4D0D #0D4D2D
square
#0D0D4D #4D0D2D #4D4D0D #0D4D2D
split-complementary
#0D0D4D #4D2D0D #2D4D0D
monochromatic
#04041A #04041A #0D0D4D #161681 #1F1FB6

Accessibility & contrast

On white

17.77
#0D0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D4D
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D4D#FFFFFF#000000##FFFFFF
##0D0D4D1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4F
Deuteranopia (green-blind)
#00154C
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d0d4d;
/* rgb */ color: rgb(13, 13, 77);
/* oklch */ color: oklch(21.9% 0.112 272.2);
Tailwind
colors: {
  custom: {
    50: '#594c80',
    500: '#0d0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d4d;
$custom-light: #594c80;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d4d",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 240,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.21942,
    "c": 0.11236,
    "h": 272.2
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#0D0D4D
secondary
#88882E
accent
#EE3AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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