#0D1456#0D1456

#0D1456 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.117 H 269.7°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#0D1456
RGBrgb(13, 20, 86)
HSLhsl(234, 74%, 19%)
HSVhsv(234, 85%, 34%)
CMYKcmyk(84.9%, 76.7%, 0%, 66.3%)
CIE-LABlab(10.97, 23.93, -40.40)
CIE-LCHlch(10.97, 46.95, 300.63°)
OKLaboklab(24.24% -0.0007 -0.117)
OKLCHoklch(24.24% 0.117 269.7)
XYZxyz(2.0953, 1.2575, 8.9346)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1456 #564F0D
analogous
#0D3956 #0D1456 #2B0D56
triadic
#0D1456 #560D14 #14560D
tetradic
#0D1456 #560D39 #564F0D #0D562B
square
#0D1456 #560D39 #564F0D #0D562B
split-complementary
#0D1456 #562B0D #39560D
monochromatic
#04061B #050821 #0D1456 #15208B #1D2DC0

Accessibility & contrast

On white

16.78
#0D1456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D1456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1456
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1456#FFFFFF#000000##FFFFFF
##0D14561.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1456;
/* rgb */ color: rgb(13, 20, 86);
/* oklch */ color: oklch(24.2% 0.117 269.7);
Tailwind
colors: {
  custom: {
    50: '#5b5186',
    500: '#0d1456',
    950: '#000000',
  },
}
SCSS
$custom: #0d1456;
$custom-light: #5b5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1456",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 234.247,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24237,
    "c": 0.11701,
    "h": 269.7
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#0D1456
secondary
#91872E
accent
#DF37F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1456

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

Preview Lab → · Contrast checker → · Palette generator →

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