#171072#171072

#171072 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.155 H 272.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#171072
RGBrgb(23, 16, 114)
HSLhsl(244, 75%, 25%)
HSVhsv(244, 86%, 45%)
CMYKcmyk(79.8%, 86%, 0%, 55.3%)
CIE-LABlab(14.22, 37.29, -53.60)
CIE-LCHlch(14.22, 65.29, 304.83°)
OKLaboklab(27.7% 0.0074 -0.155)
OKLCHoklch(27.7% 0.155 272.7)
XYZxyz(3.5749, 1.7673, 16.0690)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171072 #6B7210
analogous
#103A72 #171072 #481072
triadic
#171072 #721710 #107217
tetradic
#171072 #72103A #6B7210 #107248
square
#171072 #72103A #6B7210 #107248
split-complementary
#171072 #724810 #3A7210
monochromatic
#05041B #0C083C #171072 #2218A8 #2D1FDD

Accessibility & contrast

On white

15.51
#171072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#171072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171072
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171072#FFFFFF#000000##FFFFFF
##1710721.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171072;
/* rgb */ color: rgb(23, 16, 114);
/* oklch */ color: oklch(27.7% 0.155 272.7);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#171072',
    950: '#000000',
  },
}
SCSS
$custom: #171072;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#171072",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 244.286,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27697,
    "c": 0.15523,
    "h": 272.7
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#171072
secondary
#A1A934
accent
#F236E5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171072

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

Preview Lab → · Contrast checker → · Palette generator →

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