#13175A#13175A

#13175A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.117 H 272.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#13175A
RGBrgb(19, 23, 90)
HSLhsl(237, 65%, 21%)
HSVhsv(237, 79%, 35%)
CMYKcmyk(78.9%, 74.4%, 0%, 64.7%)
CIE-LABlab(12.54, 24.08, -40.52)
CIE-LCHlch(12.54, 47.13, 300.72°)
OKLaboklab(25.6% 0.0042 -0.1172)
OKLCHoklch(25.6% 0.117 272)
XYZxyz(2.4198, 1.4892, 9.8308)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13175A #5A5613
analogous
#133B5A #13175A #33135A
triadic
#13175A #5A1317 #175A13
tetradic
#13175A #5A133B #5A5613 #135A33
square
#13175A #5A133B #5A5613 #135A33
split-complementary
#13175A #5A3313 #3B5A13
monochromatic
#050619 #080A27 #13175A #1E248D #2831BF

Accessibility & contrast

On white

16.18
#13175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#13175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13175A
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13175A#FFFFFF#000000##FFFFFF
##13175A1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13175a;
/* rgb */ color: rgb(19, 23, 90);
/* oklch */ color: oklch(25.6% 0.117 272.0);
Tailwind
colors: {
  custom: {
    50: '#5e5489',
    500: '#13175a',
    950: '#000000',
  },
}
SCSS
$custom: #13175a;
$custom-light: #5e5489;
$custom-dark: #000000;
JSON
{
  "hex": "#13175a",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 236.62,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25596,
    "c": 0.11728,
    "h": 272
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#13175A
secondary
#928D37
accent
#DF40E8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13175A

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

Preview Lab → · Contrast checker → · Palette generator →

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