#171259#171259

#171259 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.121 H 276.2°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#171259
RGBrgb(23, 18, 89)
HSLhsl(244, 66%, 21%)
HSVhsv(244, 80%, 35%)
CMYKcmyk(74.2%, 79.8%, 0%, 65.1%)
CIE-LABlab(11.52, 27.48, -41.51)
CIE-LCHlch(11.52, 49.78, 303.51°)
OKLaboklab(24.91% 0.013 -0.12)
OKLCHoklch(24.91% 0.121 276.2)
XYZxyz(2.3722, 1.3358, 9.5821)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171259 #545912
analogous
#123059 #171259 #3A1259
triadic
#171259 #591712 #125917
tetradic
#171259 #591230 #545912 #12593A
square
#171259 #591230 #545912 #12593A
split-complementary
#171259 #593A12 #305912
monochromatic
#070519 #0A0826 #171259 #241C8C #3127BF

Accessibility & contrast

On white

16.57
#171259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#171259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171259
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171259#FFFFFF#000000##FFFFFF
##1712591.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001B58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171259;
/* rgb */ color: rgb(23, 18, 89);
/* oklch */ color: oklch(24.9% 0.121 276.2);
Tailwind
colors: {
  custom: {
    50: '#605189',
    500: '#171259',
    950: '#000000',
  },
}
SCSS
$custom: #171259;
$custom-light: #605189;
$custom-dark: #000000;
JSON
{
  "hex": "#171259",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 244.225,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24913,
    "c": 0.12067,
    "h": 276.2
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#171259
secondary
#8B9235
accent
#E93FDD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #171259

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

Preview Lab → · Contrast checker → · Palette generator →

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