#0D1354#0D1354

#0D1354 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.115 H 270.1°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#0D1354
RGBrgb(13, 19, 84)
HSLhsl(235, 73%, 19%)
HSVhsv(235, 85%, 33%)
CMYKcmyk(84.5%, 77.4%, 0%, 67.1%)
CIE-LABlab(10.49, 23.81, -39.84)
CIE-LCHlch(10.49, 46.41, 300.87°)
OKLaboklab(23.82% 0.0001 -0.1154)
OKLCHoklch(23.82% 0.115 270.1)
XYZxyz(1.9985, 1.1912, 8.5104)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1354 #544E0D
analogous
#0D3754 #0D1354 #2B0D54
triadic
#0D1354 #540D13 #13540D
tetradic
#0D1354 #540D37 #544E0D #0D542B
square
#0D1354 #540D37 #544E0D #0D542B
split-complementary
#0D1354 #542B0D #37540D
monochromatic
#04061A #05071F #0D1354 #151F89 #1D2BBE

Accessibility & contrast

On white

16.96
#0D1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1354
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1354#FFFFFF#000000##FFFFFF
##0D13541.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1354;
/* rgb */ color: rgb(13, 19, 84);
/* oklch */ color: oklch(23.8% 0.115 270.1);
Tailwind
colors: {
  custom: {
    50: '#5a5185',
    500: '#0d1354',
    950: '#000000',
  },
}
SCSS
$custom: #0d1354;
$custom-light: #5a5185;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1354",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 234.93,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23821,
    "c": 0.11536,
    "h": 270.1
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#0D1354
secondary
#8F872E
accent
#E038F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1354

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

Preview Lab → · Contrast checker → · Palette generator →

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