#13172D#13172D

#13172D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.3% C 0.044 H 274.3°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#13172D
RGBrgb(19, 23, 45)
HSLhsl(231, 41%, 13%)
HSVhsv(231, 58%, 18%)
CMYKcmyk(57.8%, 48.9%, 0%, 82.4%)
CIE-LABlab(8.49, 5.76, -15.44)
CIE-LCHlch(8.49, 16.48, 290.46°)
OKLaboklab(21.32% 0.0033 -0.0436)
OKLCHoklch(21.32% 0.044 274.3)
XYZxyz(1.0485, 0.9406, 2.6084)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13172D #2D2913
analogous
#13242D #13172D #1C132D
triadic
#13172D #2D1317 #172D13
tetradic
#13172D #2D1324 #2D2913 #132D1C
square
#13172D #2D1324 #2D2913 #132D1C
split-complementary
#13172D #2D1C13 #242D13
monochromatic
#090B16 #090B16 #13172D #252D58 #374383

Accessibility & contrast

On white

17.67
#13172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#13172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13172D
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13172D#FFFFFF#000000##FFFFFF
##13172D1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#0C172D
Tritanopia (blue-blind)
#091C1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #13172d;
/* rgb */ color: rgb(19, 23, 45);
/* oklch */ color: oklch(21.3% 0.044 274.3);
Tailwind
colors: {
  custom: {
    50: '#525366',
    500: '#13172d',
    950: '#000000',
  },
}
SCSS
$custom: #13172d;
$custom-light: #525366;
$custom-dark: #000000;
JSON
{
  "hex": "#13172d",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 230.769,
    "s": 40.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21322,
    "c": 0.04373,
    "h": 274.3
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#13172D
secondary
#645D38
accent
#BE57D0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #13172D

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

Preview Lab → · Contrast checker → · Palette generator →

#13172D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva