#0D1C4D#0D1C4D

#0D1C4D is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.093 H 266.6°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#0D1C4D
RGBrgb(13, 28, 77)
HSLhsl(226, 71%, 18%)
HSVhsv(226, 83%, 30%)
CMYKcmyk(83.1%, 63.6%, 0%, 69.8%)
CIE-LABlab(12.30, 14.21, -32.08)
CIE-LCHlch(12.30, 35.09, 293.89°)
OKLaboklab(24.93% -0.0056 -0.0926)
OKLCHoklch(24.93% 0.093 266.6)
XYZxyz(1.9203, 1.4517, 7.1987)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C4D #4D3E0D
analogous
#0D3C4D #0D1C4D #1E0D4D
triadic
#0D1C4D #4D0D1C #1C4D0D
tetradic
#0D1C4D #4D0D3C #4D3E0D #0D4D1E
square
#0D1C4D #4D0D3C #4D3E0D #0D4D1E
split-complementary
#0D1C4D #4D1E0D #3C4D0D
monochromatic
#040A1A #040A1A #0D1C4D #162F81 #1F42B6

Accessibility & contrast

On white

16.27
#0D1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1C4D
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C4D#FFFFFF#000000##FFFFFF
##0D1C4D1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1c4d;
/* rgb */ color: rgb(13, 28, 77);
/* oklch */ color: oklch(24.9% 0.093 266.6);
Tailwind
colors: {
  custom: {
    50: '#57577f',
    500: '#0d1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c4d;
$custom-light: #57577f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c4d",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 225.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24925,
    "c": 0.09277,
    "h": 266.6
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#0D1C4D
secondary
#88732E
accent
#C43AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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