#0D1D40#0D1D40

#0D1D40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.070 H 263.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#0D1D40
RGBrgb(13, 29, 64)
HSLhsl(221, 66%, 15%)
HSVhsv(221, 80%, 25%)
CMYKcmyk(79.7%, 54.7%, 0%, 74.9%)
CIE-LABlab(11.51, 7.67, -24.31)
CIE-LCHlch(11.51, 25.49, 287.50°)
OKLaboklab(23.98% -0.0079 -0.0697)
OKLCHoklch(23.98% 0.07 263.5)
XYZxyz(1.5304, 1.3343, 5.0264)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D40 #40300D
analogous
#0D3740 #0D1D40 #160D40
triadic
#0D1D40 #400D1D #1D400D
tetradic
#0D1D40 #400D37 #40300D #0D4016
square
#0D1D40 #400D37 #40300D #0D4016
split-complementary
#0D1D40 #40160D #37400D
monochromatic
#050C19 #050C19 #0D1D40 #173473 #224BA6

Accessibility & contrast

On white

16.58
#0D1D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0D1D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D40
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D40#FFFFFF#000000##FFFFFF
##0D1D401.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2141
Deuteranopia (green-blind)
#011C3F
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0d1d40;
/* rgb */ color: rgb(13, 29, 64);
/* oklch */ color: oklch(24.0% 0.070 263.5);
Tailwind
colors: {
  custom: {
    50: '#535875',
    500: '#0d1d40',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d40;
$custom-light: #535875;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d40",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 221.176,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23981,
    "c": 0.07016,
    "h": 263.5
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#0D1D40
secondary
#7C632D
accent
#B43FE9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0D1D40

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

Preview Lab → · Contrast checker → · Palette generator →

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