#171896#171896

#171896 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.192 H 269.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#171896
RGBrgb(23, 24, 150)
HSLhsl(240, 73%, 34%)
HSVhsv(240, 85%, 59%)
CMYKcmyk(84.7%, 84%, 0%, 41.2%)
CIE-LABlab(20.19, 45.10, -66.44)
CIE-LCHlch(20.19, 80.30, 304.17°)
OKLaboklab(33.16% -0.003 -0.1924)
OKLCHoklch(33.16% 0.192 269.1)
XYZxyz(6.1831, 3.0367, 29.1085)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171896 #969517
analogous
#175896 #171896 #561796
triadic
#171896 #961718 #189617
tetradic
#171896 #961758 #969517 #179656
square
#171896 #961758 #969517 #179656
split-complementary
#171896 #965617 #589617
monochromatic
#07072C #0F1061 #171896 #1F20CB #4546E2

Accessibility & contrast

On white

13.06
#171896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#171896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171896
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171896#FFFFFF#000000##FFFFFF
##1718961.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003799
Deuteranopia (green-blind)
#002A94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #171896;
/* rgb */ color: rgb(23, 24, 150);
/* oklch */ color: oklch(33.2% 0.192 269.1);
Tailwind
colors: {
  custom: {
    50: '#7059b6',
    500: '#171896',
    950: '#000000',
  },
}
SCSS
$custom: #171896;
$custom-light: #7059b6;
$custom-dark: #000000;
JSON
{
  "hex": "#171896",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 239.528,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.1924,
    "h": 269.1
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#171896
secondary
#C3C245
accent
#EF38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #171896

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

Preview Lab → · Contrast checker → · Palette generator →

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