#172375#172375

#172375 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.139 H 269.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#172375
RGBrgb(23, 35, 117)
HSLhsl(232, 67%, 27%)
HSVhsv(232, 80%, 46%)
CMYKcmyk(80.3%, 70.1%, 0%, 54.1%)
CIE-LABlab(18.66, 26.86, -48.19)
CIE-LCHlch(18.66, 55.17, 299.13°)
OKLaboklab(30.96% -0.0015 -0.1395)
OKLCHoklch(30.96% 0.139 269.4)
XYZxyz(4.1642, 2.6681, 17.1217)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172375 #756917
analogous
#175275 #172375 #3A1775
triadic
#172375 #751723 #237517
tetradic
#172375 #751752 #756917 #17753A
square
#172375 #751752 #756917 #17753A
split-complementary
#172375 #753A17 #527517
monochromatic
#05081A #0D1442 #172375 #2132A8 #3045D6

Accessibility & contrast

On white

13.69
#172375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172375
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172375#FFFFFF#000000##FFFFFF
##1723751.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172375;
/* rgb */ color: rgb(23, 35, 117);
/* oklch */ color: oklch(31.0% 0.139 269.4);
Tailwind
colors: {
  custom: {
    50: '#665e9e',
    500: '#172375',
    950: '#000000',
  },
}
SCSS
$custom: #172375;
$custom-light: #665e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172375",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 117
  },
  "hsl": {
    "h": 232.34,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30961,
    "c": 0.13949,
    "h": 269.4
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#172375
secondary
#AA9C3D
accent
#D43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172375

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

Preview Lab → · Contrast checker → · Palette generator →

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