#171960#171960

#171960 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.122 H 273.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#171960
RGBrgb(23, 25, 96)
HSLhsl(238, 61%, 23%)
HSVhsv(238, 76%, 38%)
CMYKcmyk(76%, 74%, 0%, 62.4%)
CIE-LABlab(13.95, 25.53, -42.20)
CIE-LCHlch(13.95, 49.32, 301.17°)
OKLaboklab(26.88% 0.0071 -0.122)
OKLCHoklch(26.88% 0.122 273.3)
XYZxyz(2.8116, 1.7217, 11.2482)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171960 #605E17
analogous
#173D60 #171960 #391760
triadic
#171960 #601719 #196017
tetradic
#171960 #60173D #605E17 #176039
square
#171960 #60173D #605E17 #176039
split-complementary
#171960 #603917 #3D6017
monochromatic
#060619 #0B0C2F #171960 #232691 #2F33C3

Accessibility & contrast

On white

15.62
#171960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171960
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171960#FFFFFF#000000##FFFFFF
##1719601.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171960;
/* rgb */ color: rgb(23, 25, 96);
/* oklch */ color: oklch(26.9% 0.122 273.3);
Tailwind
colors: {
  custom: {
    50: '#61568e',
    500: '#171960',
    950: '#000000',
  },
}
SCSS
$custom: #171960;
$custom-light: #61568e;
$custom-dark: #000000;
JSON
{
  "hex": "#171960",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 238.356,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26883,
    "c": 0.12222,
    "h": 273.3
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#171960
secondary
#97943C
accent
#E043E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #171960

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

Preview Lab → · Contrast checker → · Palette generator →

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