#13173A#13173A

#13173A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.067 H 274.7°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#13173A
RGBrgb(19, 23, 58)
HSLhsl(234, 51%, 15%)
HSVhsv(234, 67%, 23%)
CMYKcmyk(67.2%, 60.3%, 0%, 77.3%)
CIE-LABlab(9.45, 11.02, -23.34)
CIE-LCHlch(9.45, 25.81, 295.28°)
OKLaboklab(22.37% 0.0055 -0.0668)
OKLCHoklch(22.37% 0.067 274.7)
XYZxyz(1.3384, 1.0566, 4.1356)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13173A #3A3613
analogous
#132A3A #13173A #22133A
triadic
#13173A #3A1317 #173A13
tetradic
#13173A #3A132A #3A3613 #133A22
square
#13173A #3A132A #3A3613 #133A22
split-complementary
#13173A #3A2213 #2A3A13
monochromatic
#080917 #080917 #13173A #222968 #313C96

Accessibility & contrast

On white

17.34
#13173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#13173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13173A
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13173A#FFFFFF#000000##FFFFFF
##13173A1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3B
Deuteranopia (green-blind)
#001939
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #13173a;
/* rgb */ color: rgb(19, 23, 58);
/* oklch */ color: oklch(22.4% 0.067 274.7);
Tailwind
colors: {
  custom: {
    50: '#555370',
    500: '#13173a',
    950: '#000000',
  },
}
SCSS
$custom: #13173a;
$custom-light: #555370;
$custom-dark: #000000;
JSON
{
  "hex": "#13173a",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 233.846,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2237,
    "c": 0.06704,
    "h": 274.7
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#13173A
secondary
#726C36
accent
#CC4EDA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #13173A

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

Preview Lab → · Contrast checker → · Palette generator →

#13173A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva