#17146A#17146A

#17146A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.141 H 273.2°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#17146A
RGBrgb(23, 20, 106)
HSLhsl(242, 68%, 25%)
HSVhsv(242, 81%, 42%)
CMYKcmyk(78.3%, 81.1%, 0%, 58.4%)
CIE-LABlab(13.96, 32.39, -48.80)
CIE-LCHlch(13.96, 58.57, 303.57°)
OKLaboklab(27.23% 0.008 -0.1412)
OKLCHoklch(27.23% 0.141 273.2)
XYZxyz(3.2042, 1.7227, 13.7965)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17146A #676A14
analogous
#143C6A #17146A #42146A
triadic
#17146A #6A1714 #146A17
tetradic
#17146A #6A143C #676A14 #146A42
square
#17146A #6A143C #676A14 #146A42
split-complementary
#17146A #6A4214 #3C6A14
monochromatic
#06051A #0C0A37 #17146A #221E9D #2D27D1

Accessibility & contrast

On white

15.62
#17146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#17146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17146A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17146A#FFFFFF#000000##FFFFFF
##17146A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#001F68
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17146a;
/* rgb */ color: rgb(23, 20, 106);
/* oklch */ color: oklch(27.2% 0.141 273.2);
Tailwind
colors: {
  custom: {
    50: '#645396',
    500: '#17146a',
    950: '#000000',
  },
}
SCSS
$custom: #17146a;
$custom-light: #645396;
$custom-dark: #000000;
JSON
{
  "hex": "#17146a",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 242.093,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27227,
    "c": 0.14143,
    "h": 273.2
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#17146A
secondary
#9DA139
accent
#EB3DE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #17146A

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

Preview Lab → · Contrast checker → · Palette generator →

#17146A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva