#17197D#17197D

#17197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.161 H 270.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#17197D
RGBrgb(23, 25, 125)
HSLhsl(239, 69%, 29%)
HSVhsv(239, 82%, 49%)
CMYKcmyk(81.6%, 80%, 0%, 51%)
CIE-LABlab(17.26, 36.18, -55.62)
CIE-LCHlch(17.26, 66.35, 303.04°)
OKLaboklab(30.22% 0.0019 -0.1611)
OKLCHoklch(30.22% 0.161 270.7)
XYZxyz(4.4014, 2.3576, 19.6212)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17197D #7D7B17
analogous
#174C7D #17197D #48177D
triadic
#17197D #7D1719 #197D17
tetradic
#17197D #7D174C #7D7B17 #177D48
square
#17197D #7D174C #7D7B17 #177D48
split-complementary
#17197D #7D4817 #4C7D17
monochromatic
#05051A #0D0F49 #17197D #2123B1 #3538DA

Accessibility & contrast

On white

14.27
#17197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17197D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17197D#FFFFFF#000000##FFFFFF
##17197D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17197d;
/* rgb */ color: rgb(23, 25, 125);
/* oklch */ color: oklch(30.2% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#6957a4',
    500: '#17197d',
    950: '#000000',
  },
}
SCSS
$custom: #17197d;
$custom-light: #6957a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17197d",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 238.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30221,
    "c": 0.16107,
    "h": 270.7
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#17197D
secondary
#B2AF3E
accent
#E83CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17197D

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

Preview Lab → · Contrast checker → · Palette generator →

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