#0D1856#0D1856

#0D1856 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.112 H 268.5°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#0D1856
RGBrgb(13, 24, 86)
HSLhsl(231, 74%, 19%)
HSVhsv(231, 85%, 34%)
CMYKcmyk(84.9%, 72.1%, 0%, 66.3%)
CIE-LABlab(12.03, 21.07, -38.67)
CIE-LCHlch(12.03, 44.04, 298.59°)
OKLaboklab(25% -0.0029 -0.1119)
OKLCHoklch(25% 0.112 268.5)
XYZxyz(2.1717, 1.4105, 8.9601)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1856 #564B0D
analogous
#0D3D56 #0D1856 #270D56
triadic
#0D1856 #560D18 #18560D
tetradic
#0D1856 #560D3D #564B0D #0D5627
square
#0D1856 #560D3D #564B0D #0D5627
split-complementary
#0D1856 #56270D #3D560D
monochromatic
#04071B #050921 #0D1856 #15278B #1D36C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D1856#FFFFFF#000000##FFFFFF
##0D18561.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)
#002358
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0d1856;
/* rgb */ color: rgb(13, 24, 86);
/* oklch */ color: oklch(25.0% 0.112 268.5);
Tailwind
colors: {
  custom: {
    50: '#5a5486',
    500: '#0d1856',
    950: '#000000',
  },
}
SCSS
$custom: #0d1856;
$custom-light: #5a5486;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1856",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 230.959,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25,
    "c": 0.11199,
    "h": 268.5
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#0D1856
secondary
#91822E
accent
#D537F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1856

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

Preview Lab → · Contrast checker → · Palette generator →

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