#17316C#17316C

#17316C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.108 H 263.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#17316C
RGBrgb(23, 49, 108)
HSLhsl(222, 65%, 26%)
HSVhsv(222, 79%, 42%)
CMYKcmyk(78.7%, 54.6%, 0%, 57.6%)
CIE-LABlab(21.80, 13.23, -37.27)
CIE-LCHlch(21.80, 39.55, 289.54°)
OKLaboklab(33.05% -0.0119 -0.1072)
OKLCHoklch(33.05% 0.108 263.7)
XYZxyz(4.1575, 3.4610, 14.6334)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17316C #6C5217
analogous
#175B6C #17316C #27176C
triadic
#17316C #6C1731 #316C17
tetradic
#17316C #6C175B #6C5217 #176C27
square
#17316C #6C175B #6C5217 #176C27
split-complementary
#17316C #6C2717 #5B6C17
monochromatic
#050B19 #0C1A3A #17316C #22489E #2C5FD1

Accessibility & contrast

On white

12.41
#17316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#17316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17316C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17316C#FFFFFF#000000##FFFFFF
##17316C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17316c;
/* rgb */ color: rgb(23, 49, 108);
/* oklch */ color: oklch(33.1% 0.108 263.7);
Tailwind
colors: {
  custom: {
    50: '#626897',
    500: '#17316c',
    950: '#000000',
  },
}
SCSS
$custom: #17316c;
$custom-light: #626897;
$custom-dark: #000000;
JSON
{
  "hex": "#17316c",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 221.647,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33051,
    "c": 0.10791,
    "h": 263.7
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#17316C
secondary
#A2833D
accent
#B440E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17316C

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

Preview Lab → · Contrast checker → · Palette generator →

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