#17316A#17316A

#17316A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.105 H 263.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#17316A
RGBrgb(23, 49, 106)
HSLhsl(221, 64%, 25%)
HSVhsv(221, 78%, 42%)
CMYKcmyk(78.3%, 53.8%, 0%, 58.4%)
CIE-LABlab(21.65, 12.39, -36.22)
CIE-LCHlch(21.65, 38.28, 288.89°)
OKLaboklab(32.89% -0.0122 -0.1042)
OKLCHoklch(32.89% 0.105 263.3)
XYZxyz(4.0523, 3.4189, 14.0792)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17316A #6A5017
analogous
#175A6A #17316A #27176A
triadic
#17316A #6A1731 #316A17
tetradic
#17316A #6A175A #6A5017 #176A27
square
#17316A #6A175A #6A5017 #176A27
split-complementary
#17316A #6A2717 #5A6A17
monochromatic
#050C19 #0C1A38 #17316A #22489C #2D5FCF

Accessibility & contrast

On white

12.47
#17316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#17316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17316A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17316A#FFFFFF#000000##FFFFFF
##17316A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17316a;
/* rgb */ color: rgb(23, 49, 106);
/* oklch */ color: oklch(32.9% 0.105 263.3);
Tailwind
colors: {
  custom: {
    50: '#616895',
    500: '#17316a',
    950: '#000000',
  },
}
SCSS
$custom: #17316a;
$custom-light: #616895;
$custom-dark: #000000;
JSON
{
  "hex": "#17316a",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 221.205,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.10488,
    "h": 263.3
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#17316A
secondary
#A0813D
accent
#B340E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17316A

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

Preview Lab → · Contrast checker → · Palette generator →

#17316A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva