#0D0D4C#0D0D4C

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

Color values

HEX#0D0D4C
RGBrgb(13, 13, 76)
HSLhsl(240, 71%, 17%)
HSVhsv(240, 83%, 30%)
CMYKcmyk(82.9%, 82.9%, 0%, 70.2%)
CIE-LABlab(8.08, 24.71, -38.30)
CIE-LCHlch(8.08, 45.58, 302.82°)
OKLaboklab(21.82% 0.0046 -0.1109)
OKLCHoklch(21.82% 0.111 272.4)
XYZxyz(1.6140, 0.8950, 6.9238)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D4C #4C4C0D
analogous
#0D2D4C #0D0D4C #2D0D4C
triadic
#0D0D4C #4C0D0D #0D4C0D
tetradic
#0D0D4C #4C0D2D #4C4C0D #0D4C2D
square
#0D0D4C #4C0D2D #4C4C0D #0D4C2D
split-complementary
#0D0D4C #4C2D0D #2D4C0D
monochromatic
#04041A #04041A #0D0D4C #161680 #1F1FB5

Accessibility & contrast

On white

17.81
#0D0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D4C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D4C#FFFFFF#000000##FFFFFF
##0D0D4C1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0d4c;
/* rgb */ color: rgb(13, 13, 76);
/* oklch */ color: oklch(21.8% 0.111 272.4);
Tailwind
colors: {
  custom: {
    50: '#594c7f',
    500: '#0d0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d4c;
$custom-light: #594c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d4c",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 240,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.21816,
    "c": 0.11095,
    "h": 272.4
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0D0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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