#13174D#13174D

#13174D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.098 H 273.2°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#13174D
RGBrgb(19, 23, 77)
HSLhsl(236, 60%, 19%)
HSVhsv(236, 75%, 30%)
CMYKcmyk(75.3%, 70.1%, 0%, 69.8%)
CIE-LABlab(11.18, 18.86, -33.89)
CIE-LCHlch(11.18, 38.78, 299.10°)
OKLaboklab(24.2% 0.0056 -0.0978)
OKLCHoklch(24.2% 0.098 273.2)
XYZxyz(1.9141, 1.2869, 7.1673)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13174D #4D4913
analogous
#13344D #13174D #2C134D
triadic
#13174D #4D1317 #174D13
tetradic
#13174D #4D1334 #4D4913 #134D2C
square
#13174D #4D1334 #4D4913 #134D2C
split-complementary
#13174D #4D2C13 #344D13
monochromatic
#060719 #07081C #13174D #1F267E #2B34AF

Accessibility & contrast

On white

16.70
#13174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13174D
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13174D#FFFFFF#000000##FFFFFF
##13174D1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13174d;
/* rgb */ color: rgb(19, 23, 77);
/* oklch */ color: oklch(24.2% 0.098 273.2);
Tailwind
colors: {
  custom: {
    50: '#5a547f',
    500: '#13174d',
    950: '#000000',
  },
}
SCSS
$custom: #13174d;
$custom-light: #5a547f;
$custom-dark: #000000;
JSON
{
  "hex": "#13174d",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 235.862,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24196,
    "c": 0.09796,
    "h": 273.2
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#13174D
secondary
#868036
accent
#D944E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13174D

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

Preview Lab → · Contrast checker → · Palette generator →

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