#13173D#13173D

#13173D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.072 H 274.6°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#13173D
RGBrgb(19, 23, 61)
HSLhsl(234, 53%, 16%)
HSVhsv(234, 69%, 24%)
CMYKcmyk(68.9%, 62.3%, 0%, 76.1%)
CIE-LABlab(9.70, 12.26, -25.08)
CIE-LCHlch(9.70, 27.92, 296.05°)
OKLaboklab(22.64% 0.0057 -0.0719)
OKLCHoklch(22.64% 0.072 274.6)
XYZxyz(1.4170, 1.0881, 4.5493)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13173D #3D3913
analogous
#132C3D #13173D #24133D
triadic
#13173D #3D1317 #173D13
tetradic
#13173D #3D132C #3D3913 #133D24
square
#13173D #3D132C #3D3913 #133D24
split-complementary
#13173D #3D2413 #2C3D13
monochromatic
#070917 #070917 #13173D #22296C #303A9A

Accessibility & contrast

On white

17.25
#13173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#13173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13173D
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13173D#FFFFFF#000000##FFFFFF
##13173D1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #13173d;
/* rgb */ color: rgb(19, 23, 61);
/* oklch */ color: oklch(22.6% 0.072 274.6);
Tailwind
colors: {
  custom: {
    50: '#565373',
    500: '#13173d',
    950: '#000000',
  },
}
SCSS
$custom: #13173d;
$custom-light: #565373;
$custom-dark: #000000;
JSON
{
  "hex": "#13173d",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 234.286,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22637,
    "c": 0.07216,
    "h": 274.6
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#13173D
secondary
#756F36
accent
#CE4CDC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #13173D

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

Preview Lab → · Contrast checker → · Palette generator →

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