#171950#171950

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

Color values

HEX#171950
RGBrgb(23, 25, 80)
HSLhsl(238, 55%, 20%)
HSVhsv(238, 71%, 31%)
CMYKcmyk(71.2%, 68.8%, 0%, 68.6%)
CIE-LABlab(12.33, 19.27, -34.06)
CIE-LCHlch(12.33, 39.14, 299.50°)
OKLaboklab(25.2% 0.0089 -0.0982)
OKLCHoklch(25.2% 0.099 275.2)
XYZxyz(2.1485, 1.4564, 7.7558)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171950 #504E17
analogous
#173550 #171950 #321750
triadic
#171950 #501719 #195017
tetradic
#171950 #501735 #504E17 #175032
square
#171950 #501735 #504E17 #175032
split-complementary
#171950 #503217 #355017
monochromatic
#070718 #090A20 #171950 #252880 #3237AF

Accessibility & contrast

On white

16.26
#171950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171950
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171950#FFFFFF#000000##FFFFFF
##1719501.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171950;
/* rgb */ color: rgb(23, 25, 80);
/* oklch */ color: oklch(25.2% 0.099 275.2);
Tailwind
colors: {
  custom: {
    50: '#5c5582',
    500: '#171950',
    950: '#000000',
  },
}
SCSS
$custom: #171950;
$custom-light: #5c5582;
$custom-dark: #000000;
JSON
{
  "hex": "#171950",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 237.895,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25204,
    "c": 0.09859,
    "h": 275.2
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#171950
secondary
#87843C
accent
#D949DF
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #171950

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

Preview Lab → · Contrast checker → · Palette generator →

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