#13173C#13173C

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

Color values

HEX#13173C
RGBrgb(19, 23, 60)
HSLhsl(234, 52%, 15%)
HSVhsv(234, 68%, 24%)
CMYKcmyk(68.3%, 61.7%, 0%, 76.5%)
CIE-LABlab(9.62, 11.85, -24.50)
CIE-LCHlch(9.62, 27.22, 295.81°)
OKLaboklab(22.55% 0.0057 -0.0702)
OKLCHoklch(22.55% 0.07 274.6)
XYZxyz(1.3903, 1.0774, 4.4088)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13173C #3C3813
analogous
#132B3C #13173C #23133C
triadic
#13173C #3C1317 #173C13
tetradic
#13173C #3C132B #3C3813 #133C23
square
#13173C #3C132B #3C3813 #133C23
split-complementary
#13173C #3C2313 #2B3C13
monochromatic
#070917 #070917 #13173C #22296A #303B99

Accessibility & contrast

On white

17.28
#13173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13173C
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13173C#FFFFFF#000000##FFFFFF
##13173C1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #13173c;
/* rgb */ color: rgb(19, 23, 60);
/* oklch */ color: oklch(22.5% 0.070 274.6);
Tailwind
colors: {
  custom: {
    50: '#565372',
    500: '#13173c',
    950: '#000000',
  },
}
SCSS
$custom: #13173c;
$custom-light: #565372;
$custom-dark: #000000;
JSON
{
  "hex": "#13173c",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 234.146,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22547,
    "c": 0.07046,
    "h": 274.6
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#13173C
secondary
#746E36
accent
#CD4CDB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #13173C

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

Preview Lab → · Contrast checker → · Palette generator →

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