#17207B#17207B

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

Color values

HEX#17207B
RGBrgb(23, 32, 123)
HSLhsl(235, 68%, 29%)
HSVhsv(235, 81%, 48%)
CMYKcmyk(81.3%, 74%, 0%, 51.8%)
CIE-LABlab(18.56, 31.16, -52.20)
CIE-LCHlch(18.56, 60.79, 300.83°)
OKLaboklab(31.08% -0.0006 -0.1512)
OKLCHoklch(31.08% 0.151 269.8)
XYZxyz(4.4438, 2.6447, 19.0113)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17207B #7B7217
analogous
#17527B #17207B #40177B
triadic
#17207B #7B1720 #207B17
tetradic
#17207B #7B1752 #7B7217 #177B40
square
#17207B #7B1752 #7B7217 #177B40
split-complementary
#17207B #7B4017 #527B17
monochromatic
#05071A #0D1347 #17207B #212DAF #3342D9

Accessibility & contrast

On white

13.73
#17207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17207B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17207B#FFFFFF#000000##FFFFFF
##17207B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17207b;
/* rgb */ color: rgb(23, 32, 123);
/* oklch */ color: oklch(31.1% 0.151 269.8);
Tailwind
colors: {
  custom: {
    50: '#685ca2',
    500: '#17207b',
    950: '#000000',
  },
}
SCSS
$custom: #17207b;
$custom-light: #685ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#17207b",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 234.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31078,
    "c": 0.15117,
    "h": 269.8
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#17207B
secondary
#B0A63E
accent
#DC3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17207B

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

Preview Lab → · Contrast checker → · Palette generator →

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