#17146C#17146C

#17146C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.144 H 273.0°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#17146C
RGBrgb(23, 20, 108)
HSLhsl(242, 69%, 25%)
HSVhsv(242, 81%, 42%)
CMYKcmyk(78.7%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.20, 33.09, -49.71)
CIE-LCHlch(14.20, 59.72, 303.65°)
OKLaboklab(27.47% 0.0075 -0.1438)
OKLCHoklch(27.47% 0.144 273)
XYZxyz(3.3094, 1.7648, 14.3507)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17146C #696C14
analogous
#143D6C #17146C #43146C
triadic
#17146C #6C1714 #146C17
tetradic
#17146C #6C143D #696C14 #146C43
square
#17146C #6C143D #696C14 #146C43
split-complementary
#17146C #6C4314 #3D6C14
monochromatic
#05051A #0C0A38 #17146C #221EA0 #2D27D3

Accessibility & contrast

On white

15.52
#17146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#17146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17146C
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17146C#FFFFFF#000000##FFFFFF
##17146C1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17146c;
/* rgb */ color: rgb(23, 20, 108);
/* oklch */ color: oklch(27.5% 0.144 273.0);
Tailwind
colors: {
  custom: {
    50: '#655397',
    500: '#17146c',
    950: '#000000',
  },
}
SCSS
$custom: #17146c;
$custom-light: #655397;
$custom-dark: #000000;
JSON
{
  "hex": "#17146c",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 242.045,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27468,
    "c": 0.14405,
    "h": 273
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#17146C
secondary
#9FA339
accent
#EC3CE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020E
muted
#7A787E

Preview Lab

Preview with #17146C

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

Preview Lab → · Contrast checker → · Palette generator →

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