#0D1847#0D1847

#0D1847 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.089 H 268.5°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#0D1847
RGBrgb(13, 24, 71)
HSLhsl(229, 69%, 16%)
HSVhsv(229, 82%, 28%)
CMYKcmyk(81.7%, 66.2%, 0%, 72.2%)
CIE-LABlab(10.51, 14.66, -30.84)
CIE-LCHlch(10.51, 34.15, 295.43°)
OKLaboklab(23.41% -0.0024 -0.089)
OKLCHoklch(23.41% 0.089 268.5)
XYZxyz(1.6296, 1.1936, 6.1045)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1847 #473C0D
analogous
#0D3547 #0D1847 #1F0D47
triadic
#0D1847 #470D18 #18470D
tetradic
#0D1847 #470D35 #473C0D #0D471F
square
#0D1847 #470D35 #473C0D #0D471F
split-complementary
#0D1847 #471F0D #35470D
monochromatic
#05091A #05091A #0D1847 #16297B #203BAE

Accessibility & contrast

On white

16.95
#0D1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0D1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1847
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1847#FFFFFF#000000##FFFFFF
##0D18471.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1847;
/* rgb */ color: rgb(13, 24, 71);
/* oklch */ color: oklch(23.4% 0.089 268.5);
Tailwind
colors: {
  custom: {
    50: '#56547b',
    500: '#0d1847',
    950: '#000000',
  },
}
SCSS
$custom: #0d1847;
$custom-light: #56547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1847",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 228.621,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23414,
    "c": 0.08904,
    "h": 268.5
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#0D1847
secondary
#82722D
accent
#CB3CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1847

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

Preview Lab → · Contrast checker → · Palette generator →

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