#172576#172576

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

Color values

HEX#172576
RGBrgb(23, 37, 118)
HSLhsl(231, 67%, 28%)
HSVhsv(231, 81%, 46%)
CMYKcmyk(80.5%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.28, 25.88, -47.82)
CIE-LCHlch(19.28, 54.37, 298.42°)
OKLaboklab(31.44% -0.0027 -0.1384)
OKLCHoklch(31.44% 0.138 268.9)
XYZxyz(4.2838, 2.8128, 17.4532)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172576 #766817
analogous
#175476 #172576 #391776
triadic
#172576 #761725 #257617
tetradic
#172576 #761754 #766817 #177639
square
#172576 #761754 #766817 #177639
split-complementary
#172576 #763917 #547617
monochromatic
#05081A #0D1543 #172576 #2135A9 #3149D7

Accessibility & contrast

On white

13.44
#172576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172576
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172576#FFFFFF#000000##FFFFFF
##1725761.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172576;
/* rgb */ color: rgb(23, 37, 118);
/* oklch */ color: oklch(31.4% 0.138 268.9);
Tailwind
colors: {
  custom: {
    50: '#665f9e',
    500: '#172576',
    950: '#000000',
  },
}
SCSS
$custom: #172576;
$custom-light: #665f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172576",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 231.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.13842,
    "h": 268.9
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#172576
secondary
#AB9B3E
accent
#D13EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172576

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

Preview Lab → · Contrast checker → · Palette generator →

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