#17197E#17197E

#17197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.162 H 270.6°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#17197E
RGBrgb(23, 25, 126)
HSLhsl(239, 69%, 29%)
HSVhsv(239, 82%, 49%)
CMYKcmyk(81.7%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.38, 36.53, -56.06)
CIE-LCHlch(17.38, 66.91, 303.09°)
OKLaboklab(30.34% 0.0017 -0.1623)
OKLCHoklch(30.34% 0.162 270.6)
XYZxyz(4.4656, 2.3833, 19.9593)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17197E #7E7C17
analogous
#174D7E #17197E #49177E
triadic
#17197E #7E1719 #197E17
tetradic
#17197E #7E174D #7E7C17 #177E49
square
#17197E #7E174D #7E7C17 #177E49
split-complementary
#17197E #7E4917 #4D7E17
monochromatic
#05051A #0E0F4A #17197E #2023B2 #3538DA

Accessibility & contrast

On white

14.22
#17197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17197E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17197E#FFFFFF#000000##FFFFFF
##17197E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17197e;
/* rgb */ color: rgb(23, 25, 126);
/* oklch */ color: oklch(30.3% 0.162 270.6);
Tailwind
colors: {
  custom: {
    50: '#6958a5',
    500: '#17197e',
    950: '#000000',
  },
}
SCSS
$custom: #17197e;
$custom-light: #6958a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17197e",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 238.835,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30341,
    "c": 0.16234,
    "h": 270.6
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17197E

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

Preview Lab → · Contrast checker → · Palette generator →

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