#0D1356#0D1356

#0D1356 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.118 H 269.9°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0D1356
RGBrgb(13, 19, 86)
HSLhsl(235, 74%, 19%)
HSVhsv(235, 85%, 34%)
CMYKcmyk(84.9%, 77.9%, 0%, 66.3%)
CIE-LABlab(10.73, 24.61, -40.81)
CIE-LCHlch(10.73, 47.66, 301.09°)
OKLaboklab(24.06% -0.0002 -0.1182)
OKLCHoklch(24.06% 0.118 269.9)
XYZxyz(2.0780, 1.2230, 8.9288)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1356 #56500D
analogous
#0D3856 #0D1356 #2B0D56
triadic
#0D1356 #560D13 #13560D
tetradic
#0D1356 #560D38 #56500D #0D562B
square
#0D1356 #560D38 #56500D #0D562B
split-complementary
#0D1356 #562B0D #38560D
monochromatic
#04061B #050721 #0D1356 #151F8B #1D2AC0

Accessibility & contrast

On white

16.87
#0D1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1356
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1356#FFFFFF#000000##FFFFFF
##0D13561.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1356;
/* rgb */ color: rgb(13, 19, 86);
/* oklch */ color: oklch(24.1% 0.118 269.9);
Tailwind
colors: {
  custom: {
    50: '#5b5186',
    500: '#0d1356',
    950: '#000000',
  },
}
SCSS
$custom: #0d1356;
$custom-light: #5b5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1356",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 235.068,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24058,
    "c": 0.1182,
    "h": 269.9
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#0D1356
secondary
#91892E
accent
#E137F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1356

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

Preview Lab → · Contrast checker → · Palette generator →

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