#17127C#17127C

#17127C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.166 H 271.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#17127C
RGBrgb(23, 18, 124)
HSLhsl(243, 75%, 28%)
HSVhsv(243, 85%, 49%)
CMYKcmyk(81.5%, 85.5%, 0%, 51.4%)
CIE-LABlab(15.85, 39.59, -57.33)
CIE-LCHlch(15.85, 69.67, 304.63°)
OKLaboklab(29.2% 0.0042 -0.1659)
OKLCHoklch(29.2% 0.166 271.5)
XYZxyz(4.2065, 2.0695, 19.2426)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17127C #777C12
analogous
#12427C #17127C #4C127C
triadic
#17127C #7C1712 #127C17
tetradic
#17127C #7C1242 #777C12 #127C4C
square
#17127C #7C1242 #777C12 #127C4C
split-complementary
#17127C #7C4C12 #427C12
monochromatic
#05041B #0D0A47 #17127C #211AB1 #3129E0

Accessibility & contrast

On white

14.85
#17127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17127C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17127C
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17127C#FFFFFF#000000##FFFFFF
##17127C1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00227A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17127c;
/* rgb */ color: rgb(23, 18, 124);
/* oklch */ color: oklch(29.2% 0.166 271.5);
Tailwind
colors: {
  custom: {
    50: '#6953a3',
    500: '#17127c',
    950: '#000000',
  },
}
SCSS
$custom: #17127c;
$custom-light: #6953a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17127c",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 242.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.16594,
    "h": 271.5
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#17127C
secondary
#ACB238
accent
#F137E8
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17127C

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

Preview Lab → · Contrast checker → · Palette generator →

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