#171964#171964

#171964 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.128 H 272.9°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#171964
RGBrgb(23, 25, 100)
HSLhsl(238, 63%, 24%)
HSVhsv(238, 77%, 39%)
CMYKcmyk(77%, 75%, 0%, 60.8%)
CIE-LABlab(14.38, 27.05, -44.14)
CIE-LCHlch(14.38, 51.78, 301.50°)
OKLaboklab(27.32% 0.0065 -0.1277)
OKLCHoklch(27.32% 0.128 272.9)
XYZxyz(3.0005, 1.7972, 12.2429)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171964 #646217
analogous
#174064 #171964 #3C1764
triadic
#171964 #641719 #196417
tetradic
#171964 #641740 #646217 #17643C
square
#171964 #641740 #646217 #17643C
split-complementary
#171964 #643C17 #406417
monochromatic
#060619 #0C0D32 #171964 #222596 #2E32C8

Accessibility & contrast

On white

15.45
#171964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#171964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171964
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171964#FFFFFF#000000##FFFFFF
##1719641.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171964;
/* rgb */ color: rgb(23, 25, 100);
/* oklch */ color: oklch(27.3% 0.128 272.9);
Tailwind
colors: {
  custom: {
    50: '#625691',
    500: '#171964',
    950: '#000000',
  },
}
SCSS
$custom: #171964;
$custom-light: #625691;
$custom-dark: #000000;
JSON
{
  "hex": "#171964",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 238.442,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27324,
    "c": 0.12786,
    "h": 272.9
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#171964
secondary
#9A983C
accent
#E142E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171964

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

Preview Lab → · Contrast checker → · Palette generator →

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