#0D1341#0D1341

#0D1341 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 271.3°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#0D1341
RGBrgb(13, 19, 65)
HSLhsl(233, 67%, 15%)
HSVhsv(233, 80%, 25%)
CMYKcmyk(80%, 70.8%, 0%, 74.5%)
CIE-LABlab(8.42, 15.92, -30.03)
CIE-LCHlch(8.42, 33.99, 297.92°)
OKLaboklab(21.68% 0.002 -0.0867)
OKLCHoklch(21.68% 0.087 271.3)
XYZxyz(1.3527, 0.9328, 5.1088)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1341 #413B0D
analogous
#0D2D41 #0D1341 #210D41
triadic
#0D1341 #410D13 #13410D
tetradic
#0D1341 #410D2D #413B0D #0D4121
square
#0D1341 #410D2D #413B0D #0D4121
split-complementary
#0D1341 #41210D #2D410D
monochromatic
#05071A #05071A #0D1341 #172274 #2131A7

Accessibility & contrast

On white

17.70
#0D1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1341
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1341#FFFFFF#000000##FFFFFF
##0D13411.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1341;
/* rgb */ color: rgb(13, 19, 65);
/* oklch */ color: oklch(21.7% 0.087 271.3);
Tailwind
colors: {
  custom: {
    50: '#555076',
    500: '#0d1341',
    950: '#000000',
  },
}
SCSS
$custom: #0d1341;
$custom-light: #555076;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1341",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 233.077,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21682,
    "c": 0.08673,
    "h": 271.3
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#0D1341
secondary
#7D732D
accent
#D63EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1341

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

Preview Lab → · Contrast checker → · Palette generator →

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