#171967#171967

#171967 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.132 H 272.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#171967
RGBrgb(23, 25, 103)
HSLhsl(239, 63%, 25%)
HSVhsv(239, 78%, 40%)
CMYKcmyk(77.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(14.71, 28.19, -45.58)
CIE-LCHlch(14.71, 53.59, 301.73°)
OKLaboklab(27.66% 0.006 -0.1319)
OKLCHoklch(27.66% 0.132 272.6)
XYZxyz(3.1483, 1.8564, 13.0217)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171967 #676517
analogous
#174167 #171967 #3D1767
triadic
#171967 #671719 #196717
tetradic
#171967 #671741 #676517 #17673D
square
#171967 #671741 #676517 #17673D
split-complementary
#171967 #673D17 #416717
monochromatic
#060619 #0C0D35 #171967 #222599 #2D31CB

Accessibility & contrast

On white

15.31
#171967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#171967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171967
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171967#FFFFFF#000000##FFFFFF
##1719671.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171967;
/* rgb */ color: rgb(23, 25, 103);
/* oklch */ color: oklch(27.7% 0.132 272.6);
Tailwind
colors: {
  custom: {
    50: '#635693',
    500: '#171967',
    950: '#000000',
  },
}
SCSS
$custom: #171967;
$custom-light: #635693;
$custom-dark: #000000;
JSON
{
  "hex": "#171967",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 238.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2766,
    "c": 0.13202,
    "h": 272.6
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#171967
secondary
#9D9B3D
accent
#E241E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171967

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

Preview Lab → · Contrast checker → · Palette generator →

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