#171955#171955

#171955 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.106 H 274.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#171955
RGBrgb(23, 25, 85)
HSLhsl(238, 57%, 21%)
HSVhsv(238, 73%, 33%)
CMYKcmyk(72.9%, 70.6%, 0%, 66.7%)
CIE-LABlab(12.82, 21.25, -36.67)
CIE-LCHlch(12.82, 42.38, 300.09°)
OKLaboklab(25.71% 0.0085 -0.1058)
OKLCHoklch(25.71% 0.106 274.6)
XYZxyz(2.3401, 1.5331, 8.7652)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171955 #555317
analogous
#173855 #171955 #341755
triadic
#171955 #551719 #195517
tetradic
#171955 #551738 #555317 #175534
square
#171955 #551738 #555317 #175534
split-complementary
#171955 #553417 #385517
monochromatic
#070718 #0A0B25 #171955 #242785 #3135B5

Accessibility & contrast

On white

16.07
#171955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171955
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171955#FFFFFF#000000##FFFFFF
##1719551.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171955;
/* rgb */ color: rgb(23, 25, 85);
/* oklch */ color: oklch(25.7% 0.106 274.6);
Tailwind
colors: {
  custom: {
    50: '#5e5586',
    500: '#171955',
    950: '#000000',
  },
}
SCSS
$custom: #171955;
$custom-light: #5e5586;
$custom-dark: #000000;
JSON
{
  "hex": "#171955",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 238.065,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25712,
    "c": 0.10618,
    "h": 274.6
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#171955
secondary
#8C893C
accent
#DC47E1
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #171955

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

Preview Lab → · Contrast checker → · Palette generator →

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