#171253#171253

#171253 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.2% C 0.112 H 277.4°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#171253
RGBrgb(23, 18, 83)
HSLhsl(245, 64%, 20%)
HSVhsv(245, 78%, 33%)
CMYKcmyk(72.3%, 78.3%, 0%, 67.5%)
CIE-LABlab(10.84, 25.28, -38.55)
CIE-LCHlch(10.84, 46.10, 303.25°)
OKLaboklab(24.22% 0.0144 -0.1113)
OKLCHoklch(24.22% 0.112 277.4)
XYZxyz(2.1305, 1.2391, 8.3088)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171253 #4E5312
analogous
#122E53 #171253 #371253
triadic
#171253 #531712 #125317
tetradic
#171253 #53122E #4E5312 #125337
square
#171253 #53122E #4E5312 #125337
split-complementary
#171253 #533712 #2E5312
monochromatic
#070519 #090721 #171253 #251D85 #3328B8

Accessibility & contrast

On white

16.83
#171253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171253
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171253#FFFFFF#000000##FFFFFF
##1712531.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171253;
/* rgb */ color: rgb(23, 18, 83);
/* oklch */ color: oklch(24.2% 0.112 277.4);
Tailwind
colors: {
  custom: {
    50: '#5e5084',
    500: '#171253',
    950: '#000000',
  },
}
SCSS
$custom: #171253;
$custom-light: #5e5084;
$custom-dark: #000000;
JSON
{
  "hex": "#171253",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 244.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24224,
    "c": 0.11226,
    "h": 277.4
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#171253
secondary
#858C35
accent
#E740DB
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171253

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

Preview Lab → · Contrast checker → · Palette generator →

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