#13174C#13174C

#13174C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.096 H 273.3°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#13174C
RGBrgb(19, 23, 76)
HSLhsl(236, 60%, 19%)
HSVhsv(236, 75%, 30%)
CMYKcmyk(75%, 69.7%, 0%, 70.2%)
CIE-LABlab(11.08, 18.45, -33.36)
CIE-LCHlch(11.08, 38.12, 298.95°)
OKLaboklab(24.09% 0.0056 -0.0962)
OKLCHoklch(24.09% 0.096 273.3)
XYZxyz(1.8790, 1.2729, 6.9827)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13174C #4C4813
analogous
#13334C #13174C #2B134C
triadic
#13174C #4C1317 #174C13
tetradic
#13174C #4C1333 #4C4813 #134C2B
square
#13174C #4C1333 #4C4813 #134C2B
split-complementary
#13174C #4C2B13 #334C13
monochromatic
#060718 #07081B #13174C #1F267D #2B35AE

Accessibility & contrast

On white

16.74
#13174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13174C
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13174C#FFFFFF#000000##FFFFFF
##13174C1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13174c;
/* rgb */ color: rgb(19, 23, 76);
/* oklch */ color: oklch(24.1% 0.096 273.3);
Tailwind
colors: {
  custom: {
    50: '#5a547f',
    500: '#13174c',
    950: '#000000',
  },
}
SCSS
$custom: #13174c;
$custom-light: #5a547f;
$custom-dark: #000000;
JSON
{
  "hex": "#13174c",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 235.789,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24093,
    "c": 0.09641,
    "h": 273.3
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#13174C
secondary
#857F36
accent
#D845E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13174C

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

Preview Lab → · Contrast checker → · Palette generator →

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