#0D182E#0D182E

#0D182E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.2% C 0.047 H 263.0°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0D182E
RGBrgb(13, 24, 46)
HSLhsl(220, 56%, 12%)
HSVhsv(220, 72%, 18%)
CMYKcmyk(71.7%, 47.8%, 0%, 82%)
CIE-LABlab(8.45, 3.66, -16.27)
CIE-LCHlch(8.45, 16.67, 282.68°)
OKLaboklab(21.19% -0.0057 -0.0462)
OKLCHoklch(21.19% 0.047 263)
XYZxyz(0.9856, 0.9360, 2.7130)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D182E #2E230D
analogous
#0D292E #0D182E #130D2E
triadic
#0D182E #2E0D18 #182E0D
tetradic
#0D182E #2E0D29 #2E230D #0D2E13
square
#0D182E #2E0D29 #2E230D #0D2E13
split-complementary
#0D182E #2E130D #292E0D
monochromatic
#070C18 #070C18 #0D182E #1A315E #284A8D

Accessibility & contrast

On white

17.69
#0D182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D182E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D182E#FFFFFF#000000##FFFFFF
##0D182E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d182e;
/* rgb */ color: rgb(13, 24, 46);
/* oklch */ color: oklch(21.2% 0.047 263.0);
Tailwind
colors: {
  custom: {
    50: '#4f5467',
    500: '#0d182e',
    950: '#000000',
  },
}
SCSS
$custom: #0d182e;
$custom-light: #4f5467;
$custom-dark: #000000;
JSON
{
  "hex": "#0d182e",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 220,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21192,
    "c": 0.04653,
    "h": 263
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#0D182E
secondary
#69552E
accent
#AD49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D182E

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

Preview Lab → · Contrast checker → · Palette generator →

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