#172164#172164

#172164 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.118 H 270.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#172164
RGBrgb(23, 33, 100)
HSLhsl(232, 63%, 24%)
HSVhsv(232, 77%, 39%)
CMYKcmyk(77%, 67%, 0%, 60.8%)
CIE-LABlab(16.45, 21.51, -40.75)
CIE-LCHlch(16.45, 46.08, 297.83°)
OKLaboklab(28.83% 0.001 -0.1177)
OKLCHoklch(28.83% 0.118 270.5)
XYZxyz(3.1967, 2.1896, 12.3083)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172164 #645A17
analogous
#174864 #172164 #341764
triadic
#172164 #641721 #216417
tetradic
#172164 #641748 #645A17 #176434
square
#172164 #641748 #645A17 #176434
split-complementary
#172164 #643417 #486417
monochromatic
#060819 #0C1132 #172164 #223196 #2E42C8

Accessibility & contrast

On white

14.60
#172164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#172164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172164
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172164#FFFFFF#000000##FFFFFF
##1721641.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172164;
/* rgb */ color: rgb(23, 33, 100);
/* oklch */ color: oklch(28.8% 0.118 270.5);
Tailwind
colors: {
  custom: {
    50: '#615c91',
    500: '#172164',
    950: '#000000',
  },
}
SCSS
$custom: #172164;
$custom-light: #615c91;
$custom-dark: #000000;
JSON
{
  "hex": "#172164",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 232.208,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.11773,
    "h": 270.5
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#172164
secondary
#9A8E3C
accent
#D042E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172164

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

Preview Lab → · Contrast checker → · Palette generator →

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