#17207A#17207A

#17207A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.150 H 269.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#17207A
RGBrgb(23, 32, 122)
HSLhsl(235, 68%, 28%)
HSVhsv(235, 81%, 48%)
CMYKcmyk(81.1%, 73.8%, 0%, 52.2%)
CIE-LABlab(18.45, 30.78, -51.74)
CIE-LCHlch(18.45, 60.20, 300.75°)
OKLaboklab(30.97% -0.0004 -0.1498)
OKLCHoklch(30.97% 0.15 269.8)
XYZxyz(4.3815, 2.6198, 18.6833)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17207A #7A7117
analogous
#17517A #17207A #3F177A
triadic
#17207A #7A1720 #207A17
tetradic
#17207A #7A1751 #7A7117 #177A3F
square
#17207A #7A1751 #7A7117 #177A3F
split-complementary
#17207A #7A3F17 #517A17
monochromatic
#05071A #0D1247 #17207A #212EAD #3342D9

Accessibility & contrast

On white

13.78
#17207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#17207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17207A
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17207A#FFFFFF#000000##FFFFFF
##17207A1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17207a;
/* rgb */ color: rgb(23, 32, 122);
/* oklch */ color: oklch(31.0% 0.150 269.8);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#17207a',
    950: '#000000',
  },
}
SCSS
$custom: #17207a;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#17207a",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 234.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30967,
    "c": 0.14984,
    "h": 269.8
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#17207A
secondary
#AFA53E
accent
#DB3DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17207A

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

Preview Lab → · Contrast checker → · Palette generator →

#17207A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva