#0D0440#0D0440

#0D0440 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.8% C 0.105 H 277.1°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#0D0440
RGBrgb(13, 4, 64)
HSLhsl(249, 88%, 13%)
HSVhsv(249, 94%, 25%)
CMYKcmyk(79.7%, 93.8%, 0%, 74.9%)
CIE-LABlab(4.90, 24.18, -35.08)
CIE-LCHlch(4.90, 42.60, 304.58°)
OKLaboklab(18.77% 0.0129 -0.1039)
OKLCHoklch(18.77% 0.105 277.1)
XYZxyz(1.1345, 0.5425, 4.8944)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0440 #374004
analogous
#041940 #0D0440 #2B0440
triadic
#0D0440 #400D04 #04400D
tetradic
#0D0440 #400419 #374004 #04402B
square
#0D0440 #400419 #374004 #04402B
split-complementary
#0D0440 #402B04 #194004
monochromatic
#06021D #06021D #0D0440 #19087A #240BB3

Accessibility & contrast

On white

18.94
#0D0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0D0440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0440
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0440#FFFFFF#000000##FFFFFF
##0D04401.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d0440;
/* rgb */ color: rgb(13, 4, 64);
/* oklch */ color: oklch(18.8% 0.105 277.1);
Tailwind
colors: {
  custom: {
    50: '#554776',
    500: '#0d0440',
    950: '#000000',
  },
}
SCSS
$custom: #0d0440;
$custom-light: #554776;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0440",
  "rgb": {
    "r": 13,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 249,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.1877,
    "c": 0.10471,
    "h": 277.1
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#0D0440
secondary
#72811F
accent
#FE29DE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D0440

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

Preview Lab → · Contrast checker → · Palette generator →

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