#172573#172573

#172573 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.134 H 268.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#172573
RGBrgb(23, 37, 115)
HSLhsl(231, 67%, 27%)
HSVhsv(231, 80%, 45%)
CMYKcmyk(80%, 67.8%, 0%, 54.9%)
CIE-LABlab(18.98, 24.69, -46.38)
CIE-LCHlch(18.98, 52.54, 298.03°)
OKLaboklab(31.13% -0.0026 -0.1342)
OKLCHoklch(31.13% 0.134 268.9)
XYZxyz(4.1084, 2.7426, 16.5292)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172573 #736517
analogous
#175373 #172573 #371773
triadic
#172573 #731725 #257317
tetradic
#172573 #731753 #736517 #177337
square
#172573 #731753 #736517 #177337
split-complementary
#172573 #733717 #537317
monochromatic
#05081A #0D1540 #172573 #2135A6 #2F48D5

Accessibility & contrast

On white

13.56
#172573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172573
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172573#FFFFFF#000000##FFFFFF
##1725731.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172573;
/* rgb */ color: rgb(23, 37, 115);
/* oklch */ color: oklch(31.1% 0.134 268.9);
Tailwind
colors: {
  custom: {
    50: '#655f9c',
    500: '#172573',
    950: '#000000',
  },
}
SCSS
$custom: #172573;
$custom-light: #655f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#172573",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 230.87,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31133,
    "c": 0.13419,
    "h": 268.9
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#172573
secondary
#A9983D
accent
#D03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #172573

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

Preview Lab → · Contrast checker → · Palette generator →

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