#17197F#17197F

#17197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 270.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#17197F
RGBrgb(23, 25, 127)
HSLhsl(239, 69%, 29%)
HSVhsv(239, 82%, 50%)
CMYKcmyk(81.9%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.50, 36.88, -56.49)
CIE-LCHlch(17.50, 67.46, 303.14°)
OKLaboklab(30.46% 0.0015 -0.1636)
OKLCHoklch(30.46% 0.164 270.5)
XYZxyz(4.5304, 2.4092, 20.3008)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17197F #7F7D17
analogous
#174D7F #17197F #49177F
triadic
#17197F #7F1719 #197F17
tetradic
#17197F #7F174D #7F7D17 #177F49
square
#17197F #7F174D #7F7D17 #177F49
split-complementary
#17197F #7F4917 #4D7F17
monochromatic
#05051A #0E0F4B #17197F #2023B3 #3639DB

Accessibility & contrast

On white

14.17
#17197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#17197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17197F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17197F#FFFFFF#000000##FFFFFF
##17197F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17197f;
/* rgb */ color: rgb(23, 25, 127);
/* oklch */ color: oklch(30.5% 0.164 270.5);
Tailwind
colors: {
  custom: {
    50: '#6958a5',
    500: '#17197f',
    950: '#000000',
  },
}
SCSS
$custom: #17197f;
$custom-light: #6958a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17197f",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 238.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30461,
    "c": 0.16361,
    "h": 270.5
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#17197F
secondary
#B4B13E
accent
#E93CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17197F

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

Preview Lab → · Contrast checker → · Palette generator →

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