#171352#171352

#171352 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.110 H 277.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#171352
RGBrgb(23, 19, 82)
HSLhsl(244, 62%, 20%)
HSVhsv(244, 77%, 32%)
CMYKcmyk(72%, 76.8%, 0%, 67.8%)
CIE-LABlab(10.97, 24.24, -37.66)
CIE-LCHlch(10.97, 44.79, 302.77°)
OKLaboklab(24.28% 0.0138 -0.1087)
OKLCHoklch(24.28% 0.11 277.2)
XYZxyz(2.1087, 1.2569, 8.1125)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171352 #4E5213
analogous
#132E52 #171352 #371352
triadic
#171352 #521713 #135217
tetradic
#171352 #52132E #4E5213 #135237
square
#171352 #52132E #4E5213 #135237
split-complementary
#171352 #523713 #2E5213
monochromatic
#070619 #090720 #171352 #251F84 #332AB5

Accessibility & contrast

On white

16.78
#171352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#171352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171352
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171352#FFFFFF#000000##FFFFFF
##1713521.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171352;
/* rgb */ color: rgb(23, 19, 82);
/* oklch */ color: oklch(24.3% 0.110 277.2);
Tailwind
colors: {
  custom: {
    50: '#5e5183',
    500: '#171352',
    950: '#000000',
  },
}
SCSS
$custom: #171352;
$custom-light: #5e5183;
$custom-dark: #000000;
JSON
{
  "hex": "#171352",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 243.81,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24282,
    "c": 0.1096,
    "h": 277.2
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#171352
secondary
#858A36
accent
#E542DB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171352

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

Preview Lab → · Contrast checker → · Palette generator →

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