#172379#172379

#172379 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.145 H 269.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#172379
RGBrgb(23, 35, 121)
HSLhsl(233, 68%, 28%)
HSVhsv(233, 81%, 47%)
CMYKcmyk(81%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.07, 28.41, -50.08)
CIE-LCHlch(19.07, 57.57, 299.57°)
OKLaboklab(31.38% -0.0018 -0.145)
OKLCHoklch(31.38% 0.145 269.3)
XYZxyz(4.4044, 2.7642, 18.3869)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172379 #796D17
analogous
#175479 #172379 #3C1779
triadic
#172379 #791723 #237917
tetradic
#172379 #791754 #796D17 #17793C
square
#172379 #791754 #796D17 #17793C
split-complementary
#172379 #793C17 #547917
monochromatic
#05071A #0D1446 #172379 #2132AC #3247D8

Accessibility & contrast

On white

13.52
#172379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172379
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172379#FFFFFF#000000##FFFFFF
##1723791.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172379;
/* rgb */ color: rgb(23, 35, 121);
/* oklch */ color: oklch(31.4% 0.145 269.3);
Tailwind
colors: {
  custom: {
    50: '#675ea1',
    500: '#172379',
    950: '#000000',
  },
}
SCSS
$custom: #172379;
$custom-light: #675ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#172379",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 232.653,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31384,
    "c": 0.145,
    "h": 269.3
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#172379
secondary
#AEA03E
accent
#D63DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172379

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

Preview Lab → · Contrast checker → · Palette generator →

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