#17316F#17316F

#17316F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.112 H 264.1°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#17316F
RGBrgb(23, 49, 111)
HSLhsl(222, 66%, 26%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(79.3%, 55.9%, 0%, 56.5%)
CIE-LABlab(22.04, 14.48, -38.82)
CIE-LCHlch(22.04, 41.43, 290.45°)
OKLaboklab(33.3% -0.0116 -0.1118)
OKLCHoklch(33.3% 0.112 264.1)
XYZxyz(4.3199, 3.5260, 15.4888)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17316F #6F5517
analogous
#175D6F #17316F #29176F
triadic
#17316F #6F1731 #316F17
tetradic
#17316F #6F175D #6F5517 #176F29
square
#17316F #6F175D #6F5517 #176F29
split-complementary
#17316F #6F2917 #5D6F17
monochromatic
#050B19 #0C1B3C #17316F #2247A2 #2D5ED3

Accessibility & contrast

On white

12.32
#17316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#17316F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17316F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17316F#FFFFFF#000000##FFFFFF
##17316F1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17316f;
/* rgb */ color: rgb(23, 49, 111);
/* oklch */ color: oklch(33.3% 0.112 264.1);
Tailwind
colors: {
  custom: {
    50: '#636899',
    500: '#17316f',
    950: '#000000',
  },
}
SCSS
$custom: #17316f;
$custom-light: #636899;
$custom-dark: #000000;
JSON
{
  "hex": "#17316f",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 222.273,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33304,
    "c": 0.11242,
    "h": 264.1
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#17316F
secondary
#A5863D
accent
#B73FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #17316F

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

Preview Lab → · Contrast checker → · Palette generator →

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