#13172F#13172F

#13172F is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.5% C 0.047 H 274.6°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#13172F
RGBrgb(19, 23, 47)
HSLhsl(231, 42%, 13%)
HSVhsv(231, 60%, 18%)
CMYKcmyk(59.6%, 51.1%, 0%, 81.6%)
CIE-LABlab(8.62, 6.55, -16.69)
CIE-LCHlch(8.62, 17.93, 291.42°)
OKLaboklab(21.47% 0.0038 -0.0473)
OKLCHoklch(21.47% 0.047 274.6)
XYZxyz(1.0879, 0.9564, 2.8161)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13172F #2F2B13
analogous
#13252F #13172F #1D132F
triadic
#13172F #2F1317 #172F13
tetradic
#13172F #2F1325 #2F2B13 #132F1D
square
#13172F #2F1325 #2F2B13 #132F1D
split-complementary
#13172F #2F1D13 #252F13
monochromatic
#090B16 #090B16 #13172F #252C5B #364286

Accessibility & contrast

On white

17.63
#13172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13172F
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13172F#FFFFFF#000000##FFFFFF
##13172F1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#0B182E
Tritanopia (blue-blind)
#081C20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #13172f;
/* rgb */ color: rgb(19, 23, 47);
/* oklch */ color: oklch(21.5% 0.047 274.6);
Tailwind
colors: {
  custom: {
    50: '#535367',
    500: '#13172f',
    950: '#000000',
  },
}
SCSS
$custom: #13172f;
$custom-light: #535367;
$custom-dark: #000000;
JSON
{
  "hex": "#13172f",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 231.429,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21471,
    "c": 0.04743,
    "h": 274.6
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#13172F
secondary
#666037
accent
#C056D2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #13172F

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

Preview Lab → · Contrast checker → · Palette generator →

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