#17197B#17197B

#17197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 270.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#17197B
RGBrgb(23, 25, 123)
HSLhsl(239, 68%, 29%)
HSVhsv(239, 81%, 48%)
CMYKcmyk(81.3%, 79.7%, 0%, 51.8%)
CIE-LABlab(17.02, 35.48, -54.74)
CIE-LCHlch(17.02, 65.23, 302.95°)
OKLaboklab(29.98% 0.0023 -0.1585)
OKLCHoklch(29.98% 0.159 270.8)
XYZxyz(4.2749, 2.3070, 18.9550)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17197B #7B7917
analogous
#174B7B #17197B #47177B
triadic
#17197B #7B1719 #197B17
tetradic
#17197B #7B174B #7B7917 #177B47
square
#17197B #7B174B #7B7917 #177B47
split-complementary
#17197B #7B4717 #4B7B17
monochromatic
#05051A #0D0F47 #17197B #2123AF #3337D9

Accessibility & contrast

On white

14.37
#17197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17197B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17197B#FFFFFF#000000##FFFFFF
##17197B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17197b;
/* rgb */ color: rgb(23, 25, 123);
/* oklch */ color: oklch(30.0% 0.159 270.8);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#17197b',
    950: '#000000',
  },
}
SCSS
$custom: #17197b;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17197b",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 238.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29982,
    "c": 0.15853,
    "h": 270.8
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#17197B
secondary
#B0AE3E
accent
#E83CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17197B

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

Preview Lab → · Contrast checker → · Palette generator →

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