#172373#172373

#172373 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.137 H 269.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#172373
RGBrgb(23, 35, 115)
HSLhsl(232, 67%, 27%)
HSVhsv(232, 80%, 45%)
CMYKcmyk(80%, 69.6%, 0%, 54.9%)
CIE-LABlab(18.46, 26.07, -47.23)
CIE-LCHlch(18.46, 53.95, 298.90°)
OKLaboklab(30.75% -0.0013 -0.1367)
OKLCHoklch(30.75% 0.137 269.4)
XYZxyz(4.0478, 2.6216, 16.5090)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172373 #736717
analogous
#175173 #172373 #391773
triadic
#172373 #731723 #237317
tetradic
#172373 #731751 #736717 #177339
square
#172373 #731751 #736717 #177339
split-complementary
#172373 #733917 #517317
monochromatic
#05081A #0D1340 #172373 #2133A6 #2F45D5

Accessibility & contrast

On white

13.78
#172373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172373
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172373#FFFFFF#000000##FFFFFF
##1723731.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172373;
/* rgb */ color: rgb(23, 35, 115);
/* oklch */ color: oklch(30.8% 0.137 269.4);
Tailwind
colors: {
  custom: {
    50: '#655e9c',
    500: '#172373',
    950: '#000000',
  },
}
SCSS
$custom: #172373;
$custom-light: #655e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#172373",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 232.174,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30751,
    "c": 0.1367,
    "h": 269.4
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#172373
secondary
#A99B3D
accent
#D33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #172373

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

Preview Lab → · Contrast checker → · Palette generator →

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