#0D1D4F#0D1D4F

#0D1D4F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.094 H 266.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#0D1D4F
RGBrgb(13, 29, 79)
HSLhsl(225, 72%, 18%)
HSVhsv(225, 84%, 31%)
CMYKcmyk(83.5%, 63.3%, 0%, 69%)
CIE-LABlab(12.79, 14.32, -32.65)
CIE-LCHlch(12.79, 35.66, 293.68°)
OKLaboklab(25.35% -0.0063 -0.0943)
OKLCHoklch(25.35% 0.094 266.2)
XYZxyz(2.0161, 1.5286, 7.5844)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D4F #4F3F0D
analogous
#0D3E4F #0D1D4F #1E0D4F
triadic
#0D1D4F #4F0D1D #1D4F0D
tetradic
#0D1D4F #4F0D3E #4F3F0D #0D4F1E
square
#0D1D4F #4F0D3E #4F3F0D #0D4F1E
split-complementary
#0D1D4F #4F1E0D #3E4F0D
monochromatic
#040A1A #040A1A #0D1D4F #163084 #1E44B8

Accessibility & contrast

On white

16.08
#0D1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D4F
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D4F#FFFFFF#000000##FFFFFF
##0D1D4F1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1d4f;
/* rgb */ color: rgb(13, 29, 79);
/* oklch */ color: oklch(25.4% 0.094 266.2);
Tailwind
colors: {
  custom: {
    50: '#585881',
    500: '#0d1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d4f;
$custom-light: #585881;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d4f",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 225.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2535,
    "c": 0.09447,
    "h": 266.2
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#0D1D4F
secondary
#8A742E
accent
#C339EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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