#0D182D#0D182D

#0D182D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.045 H 262.3°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#0D182D
RGBrgb(13, 24, 45)
HSLhsl(219, 55%, 11%)
HSVhsv(219, 71%, 18%)
CMYKcmyk(71.1%, 46.7%, 0%, 82.4%)
CIE-LABlab(8.38, 3.23, -15.64)
CIE-LCHlch(8.38, 15.97, 281.67°)
OKLaboklab(21.12% -0.006 -0.0443)
OKLCHoklch(21.12% 0.045 262.3)
XYZxyz(0.9661, 0.9282, 2.6104)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D182D #2D220D
analogous
#0D282D #0D182D #120D2D
triadic
#0D182D #2D0D18 #182D0D
tetradic
#0D182D #2D0D28 #2D220D #0D2D12
square
#0D182D #2D0D28 #2D220D #0D2D12
split-complementary
#0D182D #2D120D #282D0D
monochromatic
#070D18 #070D18 #0D182D #1B315C #284B8C

Accessibility & contrast

On white

17.71
#0D182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D182D
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D182D#FFFFFF#000000##FFFFFF
##0D182D1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d182d;
/* rgb */ color: rgb(13, 24, 45);
/* oklch */ color: oklch(21.1% 0.045 262.3);
Tailwind
colors: {
  custom: {
    50: '#4f5466',
    500: '#0d182d',
    950: '#000000',
  },
}
SCSS
$custom: #0d182d;
$custom-light: #4f5466;
$custom-dark: #000000;
JSON
{
  "hex": "#0d182d",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 219.375,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21118,
    "c": 0.04474,
    "h": 262.3
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#0D182D
secondary
#68542E
accent
#AB49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D182D

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

Preview Lab → · Contrast checker → · Palette generator →

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