#0D1546#0D1546

#0D1546 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.092 H 270.1°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#0D1546
RGBrgb(13, 21, 70)
HSLhsl(232, 69%, 16%)
HSVhsv(232, 81%, 27%)
CMYKcmyk(81.4%, 70%, 0%, 72.5%)
CIE-LABlab(9.51, 16.53, -31.77)
CIE-LCHlch(9.51, 35.81, 297.49°)
OKLaboklab(22.65% 0.0001 -0.0918)
OKLCHoklch(22.65% 0.092 270.1)
XYZxyz(1.5393, 1.0639, 5.9174)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1546 #463E0D
analogous
#0D3246 #0D1546 #220D46
triadic
#0D1546 #460D15 #15460D
tetradic
#0D1546 #460D32 #463E0D #0D4622
square
#0D1546 #460D32 #463E0D #0D4622
split-complementary
#0D1546 #46220D #32460D
monochromatic
#05081A #05081A #0D1546 #17247A #2034AD

Accessibility & contrast

On white

17.32
#0D1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D1546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1546
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1546#FFFFFF#000000##FFFFFF
##0D15461.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d1546;
/* rgb */ color: rgb(13, 21, 70);
/* oklch */ color: oklch(22.6% 0.092 270.1);
Tailwind
colors: {
  custom: {
    50: '#56527a',
    500: '#0d1546',
    950: '#000000',
  },
}
SCSS
$custom: #0d1546;
$custom-light: #56527a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1546",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 231.579,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22645,
    "c": 0.09178,
    "h": 270.1
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#0D1546
secondary
#81762D
accent
#D33CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1546

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

Preview Lab → · Contrast checker → · Palette generator →

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