#17206C#17206C

#17206C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.131 H 270.5°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#17206C
RGBrgb(23, 32, 108)
HSLhsl(234, 65%, 26%)
HSVhsv(234, 79%, 42%)
CMYKcmyk(78.7%, 70.4%, 0%, 57.6%)
CIE-LABlab(16.98, 25.40, -45.13)
CIE-LCHlch(16.98, 51.79, 299.36°)
OKLaboklab(29.45% 0.0011 -0.1306)
OKLCHoklch(29.45% 0.131 270.5)
XYZxyz(3.5757, 2.2975, 14.4395)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17206C #6C6317
analogous
#174A6C #17206C #38176C
triadic
#17206C #6C1720 #206C17
tetradic
#17206C #6C174A #6C6317 #176C38
square
#17206C #6C174A #6C6317 #176C38
split-complementary
#17206C #6C3817 #4A6C17
monochromatic
#050719 #0C113A #17206C #222F9E #2C3ED1

Accessibility & contrast

On white

14.39
#17206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17206C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17206C#FFFFFF#000000##FFFFFF
##17206C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17206c;
/* rgb */ color: rgb(23, 32, 108);
/* oklch */ color: oklch(29.5% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#635b97',
    500: '#17206c',
    950: '#000000',
  },
}
SCSS
$custom: #17206c;
$custom-light: #635b97;
$custom-dark: #000000;
JSON
{
  "hex": "#17206c",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 233.647,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29454,
    "c": 0.13057,
    "h": 270.5
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#17206C
secondary
#A2973D
accent
#D640E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17206C

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

Preview Lab → · Contrast checker → · Palette generator →

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