#13174E#13174E

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

Color values

HEX#13174E
RGBrgb(19, 23, 78)
HSLhsl(236, 61%, 19%)
HSVhsv(236, 76%, 31%)
CMYKcmyk(75.6%, 70.5%, 0%, 69.4%)
CIE-LABlab(11.28, 19.27, -34.41)
CIE-LCHlch(11.28, 39.44, 299.25°)
OKLaboklab(24.3% 0.0055 -0.0993)
OKLCHoklch(24.3% 0.099 273.2)
XYZxyz(1.9496, 1.3011, 7.3546)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13174E #4E4A13
analogous
#13354E #13174E #2D134E
triadic
#13174E #4E1317 #174E13
tetradic
#13174E #4E1335 #4E4A13 #134E2D
square
#13174E #4E1335 #4E4A13 #134E2D
split-complementary
#13174E #4E2D13 #354E13
monochromatic
#060719 #07081D #13174E #1F267F #2B34B0

Accessibility & contrast

On white

16.66
#13174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13174E
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13174E#FFFFFF#000000##FFFFFF
##13174E1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13174e;
/* rgb */ color: rgb(19, 23, 78);
/* oklch */ color: oklch(24.3% 0.099 273.2);
Tailwind
colors: {
  custom: {
    50: '#5a5480',
    500: '#13174e',
    950: '#000000',
  },
}
SCSS
$custom: #13174e;
$custom-light: #5a5480;
$custom-dark: #000000;
JSON
{
  "hex": "#13174e",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 235.932,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.243,
    "c": 0.09949,
    "h": 273.2
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #13174E

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

Preview Lab → · Contrast checker → · Palette generator →

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