#171368#171368

#171368 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.140 H 273.7°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#171368
RGBrgb(23, 19, 104)
HSLhsl(243, 69%, 24%)
HSVhsv(243, 82%, 41%)
CMYKcmyk(77.9%, 81.7%, 0%, 59.2%)
CIE-LABlab(13.51, 32.26, -48.22)
CIE-LCHlch(13.51, 58.02, 303.78°)
OKLaboklab(26.84% 0.0089 -0.1395)
OKLCHoklch(26.84% 0.14 273.7)
XYZxyz(3.0841, 1.6471, 13.2494)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171368 #646813
analogous
#133A68 #171368 #421368
triadic
#171368 #681713 #136817
tetradic
#171368 #68133A #646813 #136842
square
#171368 #68133A #646813 #136842
split-complementary
#171368 #684213 #3A6813
monochromatic
#06051A #0C0A34 #171368 #221C9C #2E26CF

Accessibility & contrast

On white

15.80
#171368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#171368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171368
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171368#FFFFFF#000000##FFFFFF
##1713681.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171368;
/* rgb */ color: rgb(23, 19, 104);
/* oklch */ color: oklch(26.8% 0.140 273.7);
Tailwind
colors: {
  custom: {
    50: '#645294',
    500: '#171368',
    950: '#000000',
  },
}
SCSS
$custom: #171368;
$custom-light: #645294;
$custom-dark: #000000;
JSON
{
  "hex": "#171368",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 242.824,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.13979,
    "h": 273.7
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#171368
secondary
#9A9F37
accent
#EC3CE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171368

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

Preview Lab → · Contrast checker → · Palette generator →

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