#171869#171869

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

Color values

HEX#171869
RGBrgb(23, 24, 105)
HSLhsl(239, 64%, 25%)
HSVhsv(239, 78%, 41%)
CMYKcmyk(78.1%, 77.1%, 0%, 58.8%)
CIE-LABlab(14.71, 29.58, -46.91)
CIE-LCHlch(14.71, 55.45, 302.23°)
OKLaboklab(27.72% 0.0062 -0.1357)
OKLCHoklch(27.72% 0.136 272.6)
XYZxyz(3.2289, 1.8550, 13.5497)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171869 #696817
analogous
#174169 #171869 #3F1769
triadic
#171869 #691718 #186917
tetradic
#171869 #691741 #696817 #17693F
square
#171869 #691741 #696817 #17693F
split-complementary
#171869 #693F17 #416917
monochromatic
#050619 #0C0D37 #171869 #22239B #2D2FCD

Accessibility & contrast

On white

15.32
#171869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171869
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171869#FFFFFF#000000##FFFFFF
##1718691.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171869;
/* rgb */ color: rgb(23, 24, 105);
/* oklch */ color: oklch(27.7% 0.136 272.6);
Tailwind
colors: {
  custom: {
    50: '#635695',
    500: '#171869',
    950: '#000000',
  },
}
SCSS
$custom: #171869;
$custom-light: #635695;
$custom-dark: #000000;
JSON
{
  "hex": "#171869",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 239.268,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27722,
    "c": 0.13588,
    "h": 272.6
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#171869
secondary
#9F9E3D
accent
#E541E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171869

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

Preview Lab → · Contrast checker → · Palette generator →

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