#171C73#171C73

#171C73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.145 H 271.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#171C73
RGBrgb(23, 28, 115)
HSLhsl(237, 67%, 27%)
HSVhsv(237, 80%, 45%)
CMYKcmyk(80%, 75.7%, 0%, 54.9%)
CIE-LABlab(16.75, 30.74, -50.05)
CIE-LCHlch(16.75, 58.74, 301.56°)
OKLaboklab(29.52% 0.0025 -0.1449)
OKLCHoklch(29.52% 0.145 271)
XYZxyz(3.8621, 2.2500, 16.4471)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171C73 #736E17
analogous
#174A73 #171C73 #401773
triadic
#171C73 #73171C #1C7317
tetradic
#171C73 #73174A #736E17 #177340
square
#171C73 #73174A #736E17 #177340
split-complementary
#171C73 #734017 #4A7317
monochromatic
#05061A #0D1040 #171C73 #2128A6 #2F38D5

Accessibility & contrast

On white

14.48
#171C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#171C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171C73
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171C73#FFFFFF#000000##FFFFFF
##171C731.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #171c73;
/* rgb */ color: rgb(23, 28, 115);
/* oklch */ color: oklch(29.5% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#66599c',
    500: '#171c73',
    950: '#000000',
  },
}
SCSS
$custom: #171c73;
$custom-light: #66599c;
$custom-dark: #000000;
JSON
{
  "hex": "#171c73",
  "rgb": {
    "r": 23,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 236.739,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.14493,
    "h": 271
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#171C73
secondary
#A9A33D
accent
#E03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171C73

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

Preview Lab → · Contrast checker → · Palette generator →

#171C73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva