#171367#171367

#171367 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.138 H 273.8°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#171367
RGBrgb(23, 19, 103)
HSLhsl(243, 69%, 24%)
HSVhsv(243, 82%, 40%)
CMYKcmyk(77.7%, 81.6%, 0%, 59.6%)
CIE-LABlab(13.39, 31.91, -47.76)
CIE-LCHlch(13.39, 57.44, 303.75°)
OKLaboklab(26.72% 0.0092 -0.1382)
OKLCHoklch(26.72% 0.138 273.8)
XYZxyz(3.0336, 1.6269, 12.9835)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171367 #636713
analogous
#133967 #171367 #411367
triadic
#171367 #671713 #136717
tetradic
#171367 #671339 #636713 #136741
square
#171367 #671339 #636713 #136741
split-complementary
#171367 #674113 #396713
monochromatic
#06051A #0B0933 #171367 #231D9B #2E26CE

Accessibility & contrast

On white

15.84
#171367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171367
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171367#FFFFFF#000000##FFFFFF
##1713671.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171367;
/* rgb */ color: rgb(23, 19, 103);
/* oklch */ color: oklch(26.7% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#635293',
    500: '#171367',
    950: '#000000',
  },
}
SCSS
$custom: #171367;
$custom-light: #635293;
$custom-dark: #000000;
JSON
{
  "hex": "#171367",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 242.857,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26722,
    "c": 0.13848,
    "h": 273.8
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#171367
secondary
#9A9E37
accent
#EC3CE3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171367

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

Preview Lab → · Contrast checker → · Palette generator →

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