#17316D#17316D

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

Color values

HEX#17316D
RGBrgb(23, 49, 109)
HSLhsl(222, 65%, 26%)
HSVhsv(222, 79%, 43%)
CMYKcmyk(78.9%, 55%, 0%, 57.3%)
CIE-LABlab(21.88, 13.64, -37.79)
CIE-LCHlch(21.88, 40.18, 289.85°)
OKLaboklab(33.14% -0.0118 -0.1088)
OKLCHoklch(33.14% 0.109 263.8)
XYZxyz(4.2110, 3.4824, 14.9153)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17316D #6D5317
analogous
#175C6D #17316D #28176D
triadic
#17316D #6D1731 #316D17
tetradic
#17316D #6D175C #6D5317 #176D28
square
#17316D #6D175C #6D5317 #176D28
split-complementary
#17316D #6D2817 #5C6D17
monochromatic
#050B19 #0C1A3A #17316D #2248A0 #2C5ED2

Accessibility & contrast

On white

12.38
#17316D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#17316D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17316D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17316D#FFFFFF#000000##FFFFFF
##17316D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08396F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17316d;
/* rgb */ color: rgb(23, 49, 109);
/* oklch */ color: oklch(33.1% 0.109 263.8);
Tailwind
colors: {
  custom: {
    50: '#626897',
    500: '#17316d',
    950: '#000000',
  },
}
SCSS
$custom: #17316d;
$custom-light: #626897;
$custom-dark: #000000;
JSON
{
  "hex": "#17316d",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 221.86,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33135,
    "c": 0.10941,
    "h": 263.8
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#17316D
secondary
#A3843D
accent
#B540E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17316D

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

Preview Lab → · Contrast checker → · Palette generator →

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