#0D182A#0D182A

#0D182A is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.9% C 0.039 H 259.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#0D182A
RGBrgb(13, 24, 42)
HSLhsl(217, 53%, 11%)
HSVhsv(217, 69%, 16%)
CMYKcmyk(69%, 42.9%, 0%, 83.5%)
CIE-LABlab(8.18, 1.96, -13.73)
CIE-LCHlch(8.18, 13.87, 278.11°)
OKLaboklab(20.9% -0.0069 -0.0388)
OKLCHoklch(20.9% 0.039 259.9)
XYZxyz(0.9104, 0.9059, 2.3169)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D182A #2A1F0D
analogous
#0D262A #0D182A #100D2A
triadic
#0D182A #2A0D18 #182A0D
tetradic
#0D182A #2A0D26 #2A1F0D #0D2A10
square
#0D182A #2A0D26 #2A1F0D #0D2A10
split-complementary
#0D182A #2A100D #262A0D
monochromatic
#070D17 #070D17 #0D182A #1B3359 #2A4D87

Accessibility & contrast

On white

17.78
#0D182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D182A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D182A#FFFFFF#000000##FFFFFF
##0D182A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192B
Deuteranopia (green-blind)
#0D172A
Tritanopia (blue-blind)
#011C1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d182a;
/* rgb */ color: rgb(13, 24, 42);
/* oklch */ color: oklch(20.9% 0.039 259.9);
Tailwind
colors: {
  custom: {
    50: '#4e5463',
    500: '#0d182a',
    950: '#000000',
  },
}
SCSS
$custom: #0d182a;
$custom-light: #4e5463;
$custom-dark: #000000;
JSON
{
  "hex": "#0d182a",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 217.241,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20901,
    "c": 0.03939,
    "h": 259.9
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#0D182A
secondary
#64502E
accent
#A54CDC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #0D182A

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

Preview Lab → · Contrast checker → · Palette generator →

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