#171864#171864

#171864 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.129 H 273.2°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#171864
RGBrgb(23, 24, 100)
HSLhsl(239, 63%, 24%)
HSVhsv(239, 77%, 39%)
CMYKcmyk(77%, 76%, 0%, 60.8%)
CIE-LABlab(14.15, 27.71, -44.54)
CIE-LCHlch(14.15, 52.46, 301.89°)
OKLaboklab(27.15% 0.0071 -0.1288)
OKLCHoklch(27.15% 0.129 273.2)
XYZxyz(2.9795, 1.7552, 12.2359)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171864 #646317
analogous
#173F64 #171864 #3D1764
triadic
#171864 #641718 #186417
tetradic
#171864 #64173F #646317 #17643D
square
#171864 #64173F #646317 #17643D
split-complementary
#171864 #643D17 #3F6417
monochromatic
#060619 #0C0C32 #171864 #222496 #2E30C8

Accessibility & contrast

On white

15.54
#171864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171864
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171864#FFFFFF#000000##FFFFFF
##1718641.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171864;
/* rgb */ color: rgb(23, 24, 100);
/* oklch */ color: oklch(27.2% 0.129 273.2);
Tailwind
colors: {
  custom: {
    50: '#625591',
    500: '#171864',
    950: '#000000',
  },
}
SCSS
$custom: #171864;
$custom-light: #625591;
$custom-dark: #000000;
JSON
{
  "hex": "#171864",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 239.221,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27153,
    "c": 0.12903,
    "h": 273.2
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#171864
secondary
#9A993C
accent
#E442E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171864

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

Preview Lab → · Contrast checker → · Palette generator →

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