#17207D#17207D

#17207D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.154 H 269.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#17207D
RGBrgb(23, 32, 125)
HSLhsl(235, 69%, 29%)
HSVhsv(235, 82%, 49%)
CMYKcmyk(81.6%, 74.4%, 0%, 51%)
CIE-LABlab(18.78, 31.91, -53.11)
CIE-LCHlch(18.78, 61.96, 301.00°)
OKLaboklab(31.3% -0.0008 -0.1538)
OKLCHoklch(31.3% 0.154 269.7)
XYZxyz(4.5703, 2.6953, 19.6774)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17207D #7D7417
analogous
#17537D #17207D #41177D
triadic
#17207D #7D1720 #207D17
tetradic
#17207D #7D1753 #7D7417 #177D41
square
#17207D #7D1753 #7D7417 #177D41
split-complementary
#17207D #7D4117 #537D17
monochromatic
#05071A #0D1349 #17207D #212DB1 #3543DA

Accessibility & contrast

On white

13.64
#17207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17207D
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17207D#FFFFFF#000000##FFFFFF
##17207D1.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)
#003380
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17207d;
/* rgb */ color: rgb(23, 32, 125);
/* oklch */ color: oklch(31.3% 0.154 269.7);
Tailwind
colors: {
  custom: {
    50: '#685ca4',
    500: '#17207d',
    950: '#000000',
  },
}
SCSS
$custom: #17207d;
$custom-light: #685ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#17207d",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 234.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.15383,
    "h": 269.7
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#17207D
secondary
#B2A83E
accent
#DC3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17207D

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

Preview Lab → · Contrast checker → · Palette generator →

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