#13174B#13174B

#13174B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.095 H 273.4°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#13174B
RGBrgb(19, 23, 75)
HSLhsl(236, 60%, 18%)
HSVhsv(236, 75%, 29%)
CMYKcmyk(74.7%, 69.3%, 0%, 70.6%)
CIE-LABlab(10.99, 18.04, -32.83)
CIE-LCHlch(10.99, 37.46, 298.80°)
OKLaboklab(23.99% 0.0057 -0.0947)
OKLCHoklch(23.99% 0.095 273.4)
XYZxyz(1.8445, 1.2591, 6.8011)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13174B #4B4713
analogous
#13334B #13174B #2B134B
triadic
#13174B #4B1317 #174B13
tetradic
#13174B #4B1333 #4B4713 #134B2B
square
#13174B #4B1333 #4B4713 #134B2B
split-complementary
#13174B #4B2B13 #334B13
monochromatic
#060718 #07081A #13174B #1F267C #2C35AD

Accessibility & contrast

On white

16.78
#13174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13174B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13174B#FFFFFF#000000##FFFFFF
##13174B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13174b;
/* rgb */ color: rgb(19, 23, 75);
/* oklch */ color: oklch(24.0% 0.095 273.4);
Tailwind
colors: {
  custom: {
    50: '#5a547e',
    500: '#13174b',
    950: '#000000',
  },
}
SCSS
$custom: #13174b;
$custom-light: #5a547e;
$custom-dark: #000000;
JSON
{
  "hex": "#13174b",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 235.714,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2399,
    "c": 0.09486,
    "h": 273.4
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#13174B
secondary
#847E36
accent
#D745E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13174B

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

Preview Lab → · Contrast checker → · Palette generator →

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