#13174F#13174F

#13174F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.101 H 273.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#13174F
RGBrgb(19, 23, 79)
HSLhsl(236, 61%, 19%)
HSVhsv(236, 76%, 31%)
CMYKcmyk(75.9%, 70.9%, 0%, 69%)
CIE-LABlab(11.38, 19.68, -34.93)
CIE-LCHlch(11.38, 40.09, 299.39°)
OKLaboklab(24.4% 0.0054 -0.1009)
OKLCHoklch(24.4% 0.101 273.1)
XYZxyz(1.9858, 1.3156, 7.5449)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13174F #4F4B13
analogous
#13354F #13174F #2D134F
triadic
#13174F #4F1317 #174F13
tetradic
#13174F #4F1335 #4F4B13 #134F2D
square
#13174F #4F1335 #4F4B13 #134F2D
split-complementary
#13174F #4F2D13 #354F13
monochromatic
#060719 #07091E #13174F #1F2580 #2B34B2

Accessibility & contrast

On white

16.62
#13174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#13174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13174F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13174F#FFFFFF#000000##FFFFFF
##13174F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13174f;
/* rgb */ color: rgb(19, 23, 79);
/* oklch */ color: oklch(24.4% 0.101 273.1);
Tailwind
colors: {
  custom: {
    50: '#5b5481',
    500: '#13174f',
    950: '#000000',
  },
}
SCSS
$custom: #13174f;
$custom-light: #5b5481;
$custom-dark: #000000;
JSON
{
  "hex": "#13174f",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 236,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24405,
    "c": 0.10101,
    "h": 273.1
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#13174F
secondary
#888236
accent
#DA43E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13174F

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

Preview Lab → · Contrast checker → · Palette generator →

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