#17197C#17197C

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

Color values

HEX#17197C
RGBrgb(23, 25, 124)
HSLhsl(239, 69%, 29%)
HSVhsv(239, 81%, 49%)
CMYKcmyk(81.5%, 79.8%, 0%, 51.4%)
CIE-LABlab(17.14, 35.83, -55.18)
CIE-LCHlch(17.14, 65.79, 303.00°)
OKLaboklab(30.1% 0.0021 -0.1598)
OKLCHoklch(30.1% 0.16 270.8)
XYZxyz(4.3378, 2.3322, 19.2864)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17197C #7C7A17
analogous
#174C7C #17197C #48177C
triadic
#17197C #7C1719 #197C17
tetradic
#17197C #7C174C #7C7A17 #177C48
square
#17197C #7C174C #7C7A17 #177C48
split-complementary
#17197C #7C4817 #4C7C17
monochromatic
#05051A #0D0F48 #17197C #2123B0 #3437D9

Accessibility & contrast

On white

14.32
#17197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17197C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17197C#FFFFFF#000000##FFFFFF
##17197C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17197c;
/* rgb */ color: rgb(23, 25, 124);
/* oklch */ color: oklch(30.1% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#6957a3',
    500: '#17197c',
    950: '#000000',
  },
}
SCSS
$custom: #17197c;
$custom-light: #6957a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17197c",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 238.812,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30102,
    "c": 0.1598,
    "h": 270.8
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17197C

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

Preview Lab → · Contrast checker → · Palette generator →

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