#0D0D4E#0D0D4E

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

Color values

HEX#0D0D4E
RGBrgb(13, 13, 78)
HSLhsl(240, 71%, 18%)
HSVhsv(240, 83%, 31%)
CMYKcmyk(83.3%, 83.3%, 0%, 69.4%)
CIE-LABlab(8.34, 25.47, -39.28)
CIE-LCHlch(8.34, 46.81, 302.96°)
OKLaboklab(22.07% 0.0041 -0.1137)
OKLCHoklch(22.07% 0.114 272.1)
XYZxyz(1.6846, 0.9233, 7.2957)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D4E #4E4E0D
analogous
#0D2D4E #0D0D4E #2D0D4E
triadic
#0D0D4E #4E0D0D #0D4E0D
tetradic
#0D0D4E #4E0D2D #4E4E0D #0D4E2D
square
#0D0D4E #4E0D2D #4E4E0D #0D4E2D
split-complementary
#0D0D4E #4E2D0D #2D4E0D
monochromatic
#04041A #04041A #0D0D4E #161682 #1E1EB7

Accessibility & contrast

On white

17.73
#0D0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D4E
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D4E#FFFFFF#000000##FFFFFF
##0D0D4E1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0d4e;
/* rgb */ color: rgb(13, 13, 78);
/* oklch */ color: oklch(22.1% 0.114 272.1);
Tailwind
colors: {
  custom: {
    50: '#594c80',
    500: '#0d0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d4e;
$custom-light: #594c80;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d4e",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 240,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22068,
    "c": 0.11377,
    "h": 272.1
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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