#0D1A4A#0D1A4A

#0D1A4A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.091 H 267.5°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#0D1A4A
RGBrgb(13, 26, 74)
HSLhsl(227, 70%, 17%)
HSVhsv(227, 82%, 29%)
CMYKcmyk(82.4%, 64.9%, 0%, 71%)
CIE-LABlab(11.40, 14.43, -31.47)
CIE-LCHlch(11.40, 34.62, 294.64°)
OKLaboklab(24.17% -0.004 -0.0908)
OKLCHoklch(24.17% 0.091 267.5)
XYZxyz(1.7710, 1.3186, 6.6384)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A4A #4A3D0D
analogous
#0D394A #0D1A4A #1F0D4A
triadic
#0D1A4A #4A0D1A #1A4A0D
tetradic
#0D1A4A #4A0D39 #4A3D0D #0D4A1F
square
#0D1A4A #4A0D39 #4A3D0D #0D4A1F
split-complementary
#0D1A4A #4A1F0D #394A0D
monochromatic
#05091A #05091A #0D1A4A #162C7E #1F3FB2

Accessibility & contrast

On white

16.62
#0D1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0D1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1A4A
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A4A#FFFFFF#000000##FFFFFF
##0D1A4A1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0d1a4a;
/* rgb */ color: rgb(13, 26, 74);
/* oklch */ color: oklch(24.2% 0.091 267.5);
Tailwind
colors: {
  custom: {
    50: '#57567d',
    500: '#0d1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a4a;
$custom-light: #57567d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a4a",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 227.213,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2417,
    "c": 0.09091,
    "h": 267.5
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#0D1A4A
secondary
#85732E
accent
#C73BED
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0D1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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