#17217B#17217B

#17217B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.150 H 269.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#17217B
RGBrgb(23, 33, 123)
HSLhsl(234, 68%, 29%)
HSVhsv(234, 81%, 48%)
CMYKcmyk(81.3%, 73.2%, 0%, 51.8%)
CIE-LABlab(18.80, 30.50, -51.81)
CIE-LCHlch(18.80, 60.12, 300.49°)
OKLaboklab(31.25% -0.001 -0.15)
OKLCHoklch(31.25% 0.15 269.6)
XYZxyz(4.4711, 2.6994, 19.0204)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17217B #7B7117
analogous
#17537B #17217B #3F177B
triadic
#17217B #7B1721 #217B17
tetradic
#17217B #7B1753 #7B7117 #177B3F
square
#17217B #7B1753 #7B7117 #177B3F
split-complementary
#17217B #7B3F17 #537B17
monochromatic
#05071A #0D1347 #17217B #212FAF #3344D9

Accessibility & contrast

On white

13.64
#17217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17217B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17217B#FFFFFF#000000##FFFFFF
##17217B1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17217b;
/* rgb */ color: rgb(23, 33, 123);
/* oklch */ color: oklch(31.2% 0.150 269.6);
Tailwind
colors: {
  custom: {
    50: '#675da2',
    500: '#17217b',
    950: '#000000',
  },
}
SCSS
$custom: #17217b;
$custom-light: #675da2;
$custom-dark: #000000;
JSON
{
  "hex": "#17217b",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 234,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.15004,
    "h": 269.6
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#17217B
secondary
#B0A53E
accent
#DA3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17217B

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

Preview Lab → · Contrast checker → · Palette generator →

#17217B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva