#0D1841#0D1841

#0D1841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.079 H 268.1°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#0D1841
RGBrgb(13, 24, 65)
HSLhsl(227, 67%, 15%)
HSVhsv(227, 80%, 25%)
CMYKcmyk(80%, 63.1%, 0%, 74.5%)
CIE-LABlab(9.96, 12.03, -27.53)
CIE-LCHlch(9.96, 30.04, 293.60°)
OKLaboklab(22.83% -0.0026 -0.0793)
OKLCHoklch(22.83% 0.079 268.1)
XYZxyz(1.4464, 1.1203, 5.1400)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1841 #41360D
analogous
#0D3241 #0D1841 #1C0D41
triadic
#0D1841 #410D18 #18410D
tetradic
#0D1841 #410D32 #41360D #0D411C
square
#0D1841 #410D32 #41360D #0D411C
split-complementary
#0D1841 #411C0D #32410D
monochromatic
#05091A #05091A #0D1841 #172B74 #213EA7

Accessibility & contrast

On white

17.16
#0D1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1841
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1841#FFFFFF#000000##FFFFFF
##0D18411.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1841;
/* rgb */ color: rgb(13, 24, 65);
/* oklch */ color: oklch(22.8% 0.079 268.1);
Tailwind
colors: {
  custom: {
    50: '#545476',
    500: '#0d1841',
    950: '#000000',
  },
}
SCSS
$custom: #0d1841;
$custom-light: #545476;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1841",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 227.308,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22826,
    "c": 0.07933,
    "h": 268.1
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#0D1841
secondary
#7D6C2D
accent
#C53EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D1841

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

Preview Lab → · Contrast checker → · Palette generator →

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