#0D1C4A#0D1C4A

#0D1C4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.088 H 266.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#0D1C4A
RGBrgb(13, 28, 74)
HSLhsl(225, 70%, 17%)
HSVhsv(225, 82%, 29%)
CMYKcmyk(82.4%, 62.2%, 0%, 71%)
CIE-LABlab(12.03, 12.89, -30.46)
CIE-LCHlch(12.03, 33.07, 292.93°)
OKLaboklab(24.64% -0.0057 -0.0878)
OKLCHoklch(24.64% 0.088 266.3)
XYZxyz(1.8168, 1.4103, 6.6537)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C4A #4A3B0D
analogous
#0D3B4A #0D1C4A #1D0D4A
triadic
#0D1C4A #4A0D1C #1C4A0D
tetradic
#0D1C4A #4A0D3B #4A3B0D #0D4A1D
square
#0D1C4A #4A0D3B #4A3B0D #0D4A1D
split-complementary
#0D1C4A #4A1D0D #3B4A0D
monochromatic
#050A1A #050A1A #0D1C4A #16307E #1F43B2

Accessibility & contrast

On white

16.38
#0D1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0D1C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C4A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C4A#FFFFFF#000000##FFFFFF
##0D1C4A1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1c4a;
/* rgb */ color: rgb(13, 28, 74);
/* oklch */ color: oklch(24.6% 0.088 266.3);
Tailwind
colors: {
  custom: {
    50: '#56577d',
    500: '#0d1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c4a;
$custom-light: #56577d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c4a",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 225.246,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24636,
    "c": 0.08801,
    "h": 266.3
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#0D1C4A
secondary
#85702E
accent
#C13BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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