#0D1843#0D1843

#0D1843 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.083 H 268.3°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0D1843
RGBrgb(13, 24, 67)
HSLhsl(228, 68%, 16%)
HSVhsv(228, 81%, 26%)
CMYKcmyk(80.6%, 64.2%, 0%, 73.7%)
CIE-LABlab(10.14, 12.91, -28.65)
CIE-LCHlch(10.14, 31.42, 294.26°)
OKLaboklab(23.02% -0.0025 -0.0826)
OKLCHoklch(23.02% 0.083 268.3)
XYZxyz(1.5054, 1.1439, 5.4506)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1843 #43380D
analogous
#0D3343 #0D1843 #1D0D43
triadic
#0D1843 #430D18 #18430D
tetradic
#0D1843 #430D33 #43380D #0D431D
square
#0D1843 #430D33 #43380D #0D431D
split-complementary
#0D1843 #431D0D #33430D
monochromatic
#05091A #05091A #0D1843 #172A76 #213DAA

Accessibility & contrast

On white

17.09
#0D1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1843
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1843#FFFFFF#000000##FFFFFF
##0D18431.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#001942
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1843;
/* rgb */ color: rgb(13, 24, 67);
/* oklch */ color: oklch(23.0% 0.083 268.3);
Tailwind
colors: {
  custom: {
    50: '#555477',
    500: '#0d1843',
    950: '#000000',
  },
}
SCSS
$custom: #0d1843;
$custom-light: #555477;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1843",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 227.778,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23019,
    "c": 0.08261,
    "h": 268.3
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#0D1843
secondary
#7E6E2D
accent
#C73DEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1843

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

Preview Lab → · Contrast checker → · Palette generator →

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