#172575#172575

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

Color values

HEX#172575
RGBrgb(23, 37, 117)
HSLhsl(231, 67%, 27%)
HSVhsv(231, 80%, 46%)
CMYKcmyk(80.3%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.18, 25.48, -47.34)
CIE-LCHlch(19.18, 53.76, 298.29°)
OKLaboklab(31.34% -0.0027 -0.137)
OKLCHoklch(31.34% 0.137 268.9)
XYZxyz(4.2247, 2.7892, 17.1419)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172575 #756717
analogous
#175475 #172575 #381775
triadic
#172575 #751725 #257517
tetradic
#172575 #751754 #756717 #177538
square
#172575 #751754 #756717 #177538
split-complementary
#172575 #753817 #547517
monochromatic
#05081A #0D1542 #172575 #2135A8 #3049D6

Accessibility & contrast

On white

13.48
#172575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172575
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172575#FFFFFF#000000##FFFFFF
##1725751.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172575;
/* rgb */ color: rgb(23, 37, 117);
/* oklch */ color: oklch(31.3% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#655f9e',
    500: '#172575',
    950: '#000000',
  },
}
SCSS
$custom: #172575;
$custom-light: #655f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172575",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 231.064,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31338,
    "c": 0.13702,
    "h": 268.9
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#172575
secondary
#AA9A3D
accent
#D03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172575

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

Preview Lab → · Contrast checker → · Palette generator →

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