#171863#171863

#171863 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.128 H 273.3°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#171863
RGBrgb(23, 24, 99)
HSLhsl(239, 62%, 24%)
HSVhsv(239, 77%, 39%)
CMYKcmyk(76.8%, 75.8%, 0%, 61.2%)
CIE-LABlab(14.04, 27.34, -44.06)
CIE-LCHlch(14.04, 51.85, 301.82°)
OKLaboklab(27.04% 0.0073 -0.1274)
OKLCHoklch(27.04% 0.128 273.3)
XYZxyz(2.9314, 1.7360, 11.9826)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171863 #636217
analogous
#173E63 #171863 #3C1763
triadic
#171863 #631718 #186317
tetradic
#171863 #63173E #636217 #17633C
square
#171863 #63173E #636217 #17633C
split-complementary
#171863 #633C17 #3E6317
monochromatic
#060619 #0B0C31 #171863 #232495 #2E30C6

Accessibility & contrast

On white

15.59
#171863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#171863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171863
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171863#FFFFFF#000000##FFFFFF
##1718631.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171863;
/* rgb */ color: rgb(23, 24, 99);
/* oklch */ color: oklch(27.0% 0.128 273.3);
Tailwind
colors: {
  custom: {
    50: '#625590',
    500: '#171863',
    950: '#000000',
  },
}
SCSS
$custom: #171863;
$custom-light: #625590;
$custom-dark: #000000;
JSON
{
  "hex": "#171863",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 239.211,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27041,
    "c": 0.12764,
    "h": 273.3
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#171863
secondary
#9A983C
accent
#E342E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #171863

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

Preview Lab → · Contrast checker → · Palette generator →

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