#0D1C4E#0D1C4E

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

Color values

HEX#0D1C4E
RGBrgb(13, 28, 78)
HSLhsl(226, 71%, 18%)
HSVhsv(226, 83%, 31%)
CMYKcmyk(83.3%, 64.1%, 0%, 69.4%)
CIE-LABlab(12.39, 14.65, -32.62)
CIE-LCHlch(12.39, 35.76, 294.18°)
OKLaboklab(25.02% -0.0055 -0.0942)
OKLCHoklch(25.02% 0.094 266.6)
XYZxyz(1.9559, 1.4659, 7.3861)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C4E #4E3F0D
analogous
#0D3C4E #0D1C4E #1E0D4E
triadic
#0D1C4E #4E0D1C #1C4E0D
tetradic
#0D1C4E #4E0D3C #4E3F0D #0D4E1E
square
#0D1C4E #4E0D3C #4E3F0D #0D4E1E
split-complementary
#0D1C4E #4E1E0D #3C4E0D
monochromatic
#04091A #04091A #0D1C4E #162F82 #1E42B7

Accessibility & contrast

On white

16.24
#0D1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0D1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C4E
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C4E#FFFFFF#000000##FFFFFF
##0D1C4E1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1c4e;
/* rgb */ color: rgb(13, 28, 78);
/* oklch */ color: oklch(25.0% 0.094 266.6);
Tailwind
colors: {
  custom: {
    50: '#585780',
    500: '#0d1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c4e;
$custom-light: #585780;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c4e",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 226.154,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25022,
    "c": 0.09433,
    "h": 266.6
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#0D1C4E
secondary
#89742E
accent
#C53AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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