#172473#172473

#172473 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.135 H 269.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#172473
RGBrgb(23, 36, 115)
HSLhsl(232, 67%, 27%)
HSVhsv(232, 80%, 45%)
CMYKcmyk(80%, 68.7%, 0%, 54.9%)
CIE-LABlab(18.72, 25.38, -46.81)
CIE-LCHlch(18.72, 53.25, 298.47°)
OKLaboklab(30.94% -0.0019 -0.1354)
OKLCHoklch(30.94% 0.135 269.2)
XYZxyz(4.0777, 2.6813, 16.5190)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172473 #736617
analogous
#175273 #172473 #381773
triadic
#172473 #731724 #247317
tetradic
#172473 #731752 #736617 #177338
square
#172473 #731752 #736617 #177338
split-complementary
#172473 #733817 #527317
monochromatic
#05081A #0D1440 #172473 #2134A6 #2F47D5

Accessibility & contrast

On white

13.67
#172473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172473
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172473#FFFFFF#000000##FFFFFF
##1724731.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172473;
/* rgb */ color: rgb(23, 36, 115);
/* oklch */ color: oklch(30.9% 0.135 269.2);
Tailwind
colors: {
  custom: {
    50: '#655e9c',
    500: '#172473',
    950: '#000000',
  },
}
SCSS
$custom: #172473;
$custom-light: #655e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#172473",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 231.522,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30941,
    "c": 0.13545,
    "h": 269.2
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#172473
secondary
#A9993D
accent
#D13EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #172473

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

Preview Lab → · Contrast checker → · Palette generator →

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