#13173E#13173E

#13173E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.074 H 274.5°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#13173E
RGBrgb(19, 23, 62)
HSLhsl(234, 53%, 16%)
HSVhsv(234, 69%, 24%)
CMYKcmyk(69.4%, 62.9%, 0%, 75.7%)
CIE-LABlab(9.79, 12.68, -25.66)
CIE-LCHlch(9.79, 28.62, 296.30°)
OKLaboklab(22.73% 0.0058 -0.0736)
OKLCHoklch(22.73% 0.074 274.5)
XYZxyz(1.4442, 1.0989, 4.6925)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13173E #3E3A13
analogous
#132C3E #13173E #24133E
triadic
#13173E #3E1317 #173E13
tetradic
#13173E #3E132C #3E3A13 #133E24
square
#13173E #3E132C #3E3A13 #133E24
split-complementary
#13173E #3E2413 #2C3E13
monochromatic
#070917 #070917 #13173E #21286D #303A9C

Accessibility & contrast

On white

17.22
#13173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13173E
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13173E#FFFFFF#000000##FFFFFF
##13173E1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #13173e;
/* rgb */ color: rgb(19, 23, 62);
/* oklch */ color: oklch(22.7% 0.074 274.5);
Tailwind
colors: {
  custom: {
    50: '#565374',
    500: '#13173e',
    950: '#000000',
  },
}
SCSS
$custom: #13173e;
$custom-light: #565374;
$custom-dark: #000000;
JSON
{
  "hex": "#13173e",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 234.419,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22728,
    "c": 0.07385,
    "h": 274.5
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#13173E
secondary
#777136
accent
#CF4BDC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #13173E

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

Preview Lab → · Contrast checker → · Palette generator →

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