#13174A#13174A

#13174A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.093 H 273.5°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#13174A
RGBrgb(19, 23, 74)
HSLhsl(236, 59%, 18%)
HSVhsv(236, 74%, 29%)
CMYKcmyk(74.3%, 68.9%, 0%, 71%)
CIE-LABlab(10.89, 17.64, -32.29)
CIE-LCHlch(10.89, 36.79, 298.64°)
OKLaboklab(23.89% 0.0057 -0.0931)
OKLCHoklch(23.89% 0.093 273.5)
XYZxyz(1.8106, 1.2455, 6.6222)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13174A #4A4613
analogous
#13324A #13174A #2A134A
triadic
#13174A #4A1317 #174A13
tetradic
#13174A #4A1332 #4A4613 #134A2A
square
#13174A #4A1332 #4A4613 #134A2A
split-complementary
#13174A #4A2A13 #324A13
monochromatic
#060818 #060819 #13174A #20267B #2C35AB

Accessibility & contrast

On white

16.81
#13174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#13174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13174A
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13174A#FFFFFF#000000##FFFFFF
##13174A1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #13174a;
/* rgb */ color: rgb(19, 23, 74);
/* oklch */ color: oklch(23.9% 0.093 273.5);
Tailwind
colors: {
  custom: {
    50: '#59537d',
    500: '#13174a',
    950: '#000000',
  },
}
SCSS
$custom: #13174a;
$custom-light: #59537d;
$custom-dark: #000000;
JSON
{
  "hex": "#13174a",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 235.636,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23888,
    "c": 0.09331,
    "h": 273.5
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#13174A
secondary
#837D36
accent
#D745E2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13174A

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

Preview Lab → · Contrast checker → · Palette generator →

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