#17316E#17316E

#17316E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.111 H 263.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#17316E
RGBrgb(23, 49, 110)
HSLhsl(222, 65%, 26%)
HSVhsv(222, 79%, 43%)
CMYKcmyk(79.1%, 55.5%, 0%, 56.9%)
CIE-LABlab(21.96, 14.06, -38.30)
CIE-LCHlch(21.96, 40.80, 290.16°)
OKLaboklab(33.22% -0.0117 -0.1103)
OKLCHoklch(33.22% 0.111 263.9)
XYZxyz(4.2651, 3.5041, 15.2004)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17316E #6E5417
analogous
#175C6E #17316E #28176E
triadic
#17316E #6E1731 #316E17
tetradic
#17316E #6E175C #6E5417 #176E28
square
#17316E #6E175C #6E5417 #176E28
split-complementary
#17316E #6E2817 #5C6E17
monochromatic
#050B19 #0C1A3B #17316E #2248A1 #2C5ED3

Accessibility & contrast

On white

12.35
#17316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17316E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17316E#FFFFFF#000000##FFFFFF
##17316E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17316e;
/* rgb */ color: rgb(23, 49, 110);
/* oklch */ color: oklch(33.2% 0.111 263.9);
Tailwind
colors: {
  custom: {
    50: '#626898',
    500: '#17316e',
    950: '#000000',
  },
}
SCSS
$custom: #17316e;
$custom-light: #626898;
$custom-dark: #000000;
JSON
{
  "hex": "#17316e",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 222.069,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.11092,
    "h": 263.9
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#17316E
secondary
#A4853D
accent
#B63FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #17316E

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

Preview Lab → · Contrast checker → · Palette generator →

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