#17207F#17207F

#17207F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.156 H 269.6°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#17207F
RGBrgb(23, 32, 127)
HSLhsl(235, 69%, 29%)
HSVhsv(235, 82%, 50%)
CMYKcmyk(81.9%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.00, 32.65, -54.02)
CIE-LCHlch(19.00, 63.12, 301.15°)
OKLaboklab(31.53% -0.0011 -0.1565)
OKLCHoklch(31.53% 0.156 269.6)
XYZxyz(4.6993, 2.7470, 20.3571)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17207F #7F7617
analogous
#17547F #17207F #42177F
triadic
#17207F #7F1720 #207F17
tetradic
#17207F #7F1754 #7F7617 #177F42
square
#17207F #7F1754 #7F7617 #177F42
split-complementary
#17207F #7F4217 #547F17
monochromatic
#05071A #0E134B #17207F #202DB3 #3644DB

Accessibility & contrast

On white

13.55
#17207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#17207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17207F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17207F#FFFFFF#000000##FFFFFF
##17207F1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17207f;
/* rgb */ color: rgb(23, 32, 127);
/* oklch */ color: oklch(31.5% 0.156 269.6);
Tailwind
colors: {
  custom: {
    50: '#695ca5',
    500: '#17207f',
    950: '#000000',
  },
}
SCSS
$custom: #17207f;
$custom-light: #695ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#17207f",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 234.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31525,
    "c": 0.15647,
    "h": 269.6
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#17207F
secondary
#B4A93E
accent
#DD3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17207F

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

Preview Lab → · Contrast checker → · Palette generator →

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