#172364#172364

#172364 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.115 H 269.7°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#172364
RGBrgb(23, 35, 100)
HSLhsl(231, 63%, 24%)
HSVhsv(231, 77%, 39%)
CMYKcmyk(77%, 65%, 0%, 60.8%)
CIE-LABlab(17.01, 20.07, -39.84)
CIE-LCHlch(17.01, 44.62, 296.74°)
OKLaboklab(29.24% -0.0006 -0.115)
OKLCHoklch(29.24% 0.115 269.7)
XYZxyz(3.2538, 2.3040, 12.3274)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172364 #645817
analogous
#174A64 #172364 #321764
triadic
#172364 #641723 #236417
tetradic
#172364 #64174A #645817 #176432
square
#172364 #64174A #645817 #176432
split-complementary
#172364 #643217 #4A6417
monochromatic
#060919 #0C1232 #172364 #223496 #2E46C8

Accessibility & contrast

On white

14.38
#172364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172364
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172364#FFFFFF#000000##FFFFFF
##1723641.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172364;
/* rgb */ color: rgb(23, 35, 100);
/* oklch */ color: oklch(29.2% 0.115 269.7);
Tailwind
colors: {
  custom: {
    50: '#615d91',
    500: '#172364',
    950: '#000000',
  },
}
SCSS
$custom: #172364;
$custom-light: #615d91;
$custom-dark: #000000;
JSON
{
  "hex": "#172364",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 100
  },
  "hsl": {
    "h": 230.649,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29238,
    "c": 0.11505,
    "h": 269.7
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#172364
secondary
#9A8C3C
accent
#CC42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #172364

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

Preview Lab → · Contrast checker → · Palette generator →

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