#0D0D40#0D0D40

#0D0D40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.093 H 274.3°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#0D0D40
RGBrgb(13, 13, 64)
HSLhsl(240, 66%, 15%)
HSVhsv(240, 80%, 25%)
CMYKcmyk(79.7%, 79.7%, 0%, 74.9%)
CIE-LABlab(6.72, 19.63, -32.11)
CIE-LCHlch(6.72, 37.64, 301.44°)
OKLaboklab(20.36% 0.007 -0.0932)
OKLCHoklch(20.36% 0.093 274.3)
XYZxyz(1.2350, 0.7435, 4.9279)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D40 #40400D
analogous
#0D2640 #0D0D40 #260D40
triadic
#0D0D40 #400D0D #0D400D
tetradic
#0D0D40 #400D26 #40400D #0D4026
square
#0D0D40 #400D26 #40400D #0D4026
split-complementary
#0D0D40 #40260D #26400D
monochromatic
#050519 #050519 #0D0D40 #171773 #2222A6

Accessibility & contrast

On white

18.28
#0D0D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D40
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D40#FFFFFF#000000##FFFFFF
##0D0D401.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0d40;
/* rgb */ color: rgb(13, 13, 64);
/* oklch */ color: oklch(20.4% 0.093 274.3);
Tailwind
colors: {
  custom: {
    50: '#554c75',
    500: '#0d0d40',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d40;
$custom-light: #554c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d40",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20355,
    "c": 0.09345,
    "h": 274.3
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#0D0D40
secondary
#7C7C2D
accent
#E93FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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