#171969#171969

#171969 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.135 H 272.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#171969
RGBrgb(23, 25, 105)
HSLhsl(239, 64%, 25%)
HSVhsv(239, 78%, 41%)
CMYKcmyk(78.1%, 76.2%, 0%, 58.8%)
CIE-LABlab(14.94, 28.94, -46.53)
CIE-LCHlch(14.94, 54.79, 301.88°)
OKLaboklab(27.89% 0.0057 -0.1346)
OKLCHoklch(27.89% 0.135 272.4)
XYZxyz(3.2499, 1.8970, 13.5567)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171969 #696717
analogous
#174269 #171969 #3E1769
triadic
#171969 #691719 #196917
tetradic
#171969 #691742 #696717 #17693E
square
#171969 #691742 #696717 #17693E
split-complementary
#171969 #693E17 #426917
monochromatic
#050619 #0C0D37 #171969 #22259B #2D31CD

Accessibility & contrast

On white

15.22
#171969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171969
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171969#FFFFFF#000000##FFFFFF
##1719691.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171969;
/* rgb */ color: rgb(23, 25, 105);
/* oklch */ color: oklch(27.9% 0.135 272.4);
Tailwind
colors: {
  custom: {
    50: '#635695',
    500: '#171969',
    950: '#000000',
  },
}
SCSS
$custom: #171969;
$custom-light: #635695;
$custom-dark: #000000;
JSON
{
  "hex": "#171969",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 238.537,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27886,
    "c": 0.13476,
    "h": 272.4
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#171969
secondary
#9F9D3D
accent
#E341E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171969

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

Preview Lab → · Contrast checker → · Palette generator →

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