#172353#172353

#172353 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.089 H 269.3°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#172353
RGBrgb(23, 35, 83)
HSLhsl(228, 57%, 21%)
HSVhsv(228, 72%, 33%)
CMYKcmyk(72.3%, 57.8%, 0%, 67.5%)
CIE-LABlab(15.53, 13.09, -30.90)
CIE-LCHlch(15.53, 33.56, 292.95°)
OKLaboklab(27.67% -0.0011 -0.0888)
OKLCHoklch(27.67% 0.089 269.3)
XYZxyz(2.5152, 2.0085, 8.4371)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172353 #534717
analogous
#174153 #172353 #291753
triadic
#172353 #531723 #235317
tetradic
#172353 #531741 #534717 #175329
square
#172353 #531741 #534717 #175329
split-complementary
#172353 #532917 #415317
monochromatic
#070A18 #0A0F23 #172353 #243783 #324BB3

Accessibility & contrast

On white

14.98
#172353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172353
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172353#FFFFFF#000000##FFFFFF
##1723531.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A55
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172353;
/* rgb */ color: rgb(23, 35, 83);
/* oklch */ color: oklch(27.7% 0.089 269.3);
Tailwind
colors: {
  custom: {
    50: '#5c5d84',
    500: '#172353',
    950: '#000000',
  },
}
SCSS
$custom: #172353;
$custom-light: #5c5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#172353",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 83
  },
  "hsl": {
    "h": 228,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27672,
    "c": 0.08877,
    "h": 269.3
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#172353
secondary
#8A7A3C
accent
#C148E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #172353

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

Preview Lab → · Contrast checker → · Palette generator →

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