#171063#171063

#171063 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.136 H 274.9°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#171063
RGBrgb(23, 16, 99)
HSLhsl(245, 72%, 23%)
HSVhsv(245, 84%, 39%)
CMYKcmyk(76.8%, 83.8%, 0%, 61.2%)
CIE-LABlab(12.31, 32.22, -46.91)
CIE-LCHlch(12.31, 56.91, 304.48°)
OKLaboklab(25.82% 0.0116 -0.1357)
OKLCHoklch(25.82% 0.136 274.9)
XYZxyz(2.7900, 1.4533, 11.9354)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171063 #5C6310
analogous
#103363 #171063 #401063
triadic
#171063 #631710 #106317
tetradic
#171063 #631033 #5C6310 #106340
square
#171063 #631033 #5C6310 #106340
split-complementary
#171063 #634010 #336310
monochromatic
#06041A #0B072E #171063 #231998 #2F21CC

Accessibility & contrast

On white

16.27
#171063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171063
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171063#FFFFFF#000000##FFFFFF
##1710631.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001C62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171063;
/* rgb */ color: rgb(23, 16, 99);
/* oklch */ color: oklch(25.8% 0.136 274.9);
Tailwind
colors: {
  custom: {
    50: '#635090',
    500: '#171063',
    950: '#000000',
  },
}
SCSS
$custom: #171063;
$custom-light: #635090;
$custom-dark: #000000;
JSON
{
  "hex": "#171063",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 245.06,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25819,
    "c": 0.13615,
    "h": 274.9
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#171063
secondary
#939C33
accent
#EF39E0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171063

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

Preview Lab → · Contrast checker → · Palette generator →

#171063 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva