#172352#172352

#172352 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.087 H 269.2°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#172352
RGBrgb(23, 35, 82)
HSLhsl(228, 56%, 21%)
HSVhsv(228, 72%, 32%)
CMYKcmyk(72%, 57.3%, 0%, 67.8%)
CIE-LABlab(15.45, 12.67, -30.35)
CIE-LCHlch(15.45, 32.89, 292.66°)
OKLaboklab(27.58% -0.0012 -0.0871)
OKLCHoklch(27.58% 0.087 269.2)
XYZxyz(2.4769, 1.9932, 8.2352)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172352 #524617
analogous
#174052 #172352 #291752
triadic
#172352 #521723 #235217
tetradic
#172352 #521740 #524617 #175229
square
#172352 #521740 #524617 #175229
split-complementary
#172352 #522917 #405217
monochromatic
#070A18 #0A0F22 #172352 #243782 #324CB2

Accessibility & contrast

On white

15.02
#172352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#172352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172352
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172352#FFFFFF#000000##FFFFFF
##1723521.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062954
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172352;
/* rgb */ color: rgb(23, 35, 82);
/* oklch */ color: oklch(27.6% 0.087 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c5d83',
    500: '#172352',
    950: '#000000',
  },
}
SCSS
$custom: #172352;
$custom-light: #5c5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#172352",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 227.797,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27585,
    "c": 0.08716,
    "h": 269.2
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#172352
secondary
#89793C
accent
#C148DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #172352

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

Preview Lab → · Contrast checker → · Palette generator →

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