#0D1845#0D1845

#0D1845 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.086 H 268.4°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#0D1845
RGBrgb(13, 24, 69)
HSLhsl(228, 68%, 16%)
HSVhsv(228, 81%, 27%)
CMYKcmyk(81.2%, 65.2%, 0%, 72.9%)
CIE-LABlab(10.32, 13.79, -29.75)
CIE-LCHlch(10.32, 32.79, 294.86°)
OKLaboklab(23.22% -0.0024 -0.0858)
OKLCHoklch(23.22% 0.086 268.4)
XYZxyz(1.5664, 1.1683, 5.7720)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1845 #453A0D
analogous
#0D3445 #0D1845 #1E0D45
triadic
#0D1845 #450D18 #18450D
tetradic
#0D1845 #450D34 #453A0D #0D451E
square
#0D1845 #450D34 #453A0D #0D451E
split-complementary
#0D1845 #451E0D #34450D
monochromatic
#05091A #05091A #0D1845 #172A78 #203CAC

Accessibility & contrast

On white

17.02
#0D1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1845
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1845#FFFFFF#000000##FFFFFF
##0D18451.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1845;
/* rgb */ color: rgb(13, 24, 69);
/* oklch */ color: oklch(23.2% 0.086 268.4);
Tailwind
colors: {
  custom: {
    50: '#555479',
    500: '#0d1845',
    950: '#000000',
  },
}
SCSS
$custom: #0d1845;
$custom-light: #555479;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1845",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 228.214,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23215,
    "c": 0.08584,
    "h": 268.4
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#0D1845
secondary
#80702D
accent
#C93DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1845

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

Preview Lab → · Contrast checker → · Palette generator →

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