#171853#171853

#171853 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.105 H 275.2°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#171853
RGBrgb(23, 24, 83)
HSLhsl(239, 57%, 21%)
HSVhsv(239, 72%, 33%)
CMYKcmyk(72.3%, 71.1%, 0%, 67.5%)
CIE-LABlab(12.35, 21.17, -36.08)
CIE-LCHlch(12.35, 41.83, 300.41°)
OKLaboklab(25.31% 0.0095 -0.1041)
OKLCHoklch(25.31% 0.105 275.2)
XYZxyz(2.2408, 1.4598, 8.3456)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171853 #535217
analogous
#173653 #171853 #341753
triadic
#171853 #531718 #185317
tetradic
#171853 #531736 #535217 #175334
square
#171853 #531736 #535217 #175334
split-complementary
#171853 #533417 #365317
monochromatic
#070718 #0A0A23 #171853 #242683 #3234B3

Accessibility & contrast

On white

16.25
#171853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171853
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171853#FFFFFF#000000##FFFFFF
##1718531.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171853;
/* rgb */ color: rgb(23, 24, 83);
/* oklch */ color: oklch(25.3% 0.105 275.2);
Tailwind
colors: {
  custom: {
    50: '#5d5584',
    500: '#171853',
    950: '#000000',
  },
}
SCSS
$custom: #171853;
$custom-light: #5d5584;
$custom-dark: #000000;
JSON
{
  "hex": "#171853",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 239,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2531,
    "c": 0.10453,
    "h": 275.2
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#171853
secondary
#8A893C
accent
#DD48E0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #171853

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

Preview Lab → · Contrast checker → · Palette generator →

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