#171B73#171B73

#171B73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.146 H 271.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#171B73
RGBrgb(23, 27, 115)
HSLhsl(237, 67%, 27%)
HSVhsv(237, 80%, 45%)
CMYKcmyk(80%, 76.5%, 0%, 54.9%)
CIE-LABlab(16.52, 31.37, -50.43)
CIE-LCHlch(16.52, 59.39, 301.89°)
OKLaboklab(29.35% 0.003 -0.146)
OKLCHoklch(29.35% 0.146 271.2)
XYZxyz(3.8387, 2.2034, 16.4393)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B73 #736F17
analogous
#174973 #171B73 #411773
triadic
#171B73 #73171B #1B7317
tetradic
#171B73 #731749 #736F17 #177341
square
#171B73 #731749 #736F17 #177341
split-complementary
#171B73 #734117 #497317
monochromatic
#05061A #0D0F40 #171B73 #2127A6 #2F36D5

Accessibility & contrast

On white

14.58
#171B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#171B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B73
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B73#FFFFFF#000000##FFFFFF
##171B731.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #171b73;
/* rgb */ color: rgb(23, 27, 115);
/* oklch */ color: oklch(29.4% 0.146 271.2);
Tailwind
colors: {
  custom: {
    50: '#66589c',
    500: '#171b73',
    950: '#000000',
  },
}
SCSS
$custom: #171b73;
$custom-light: #66589c;
$custom-dark: #000000;
JSON
{
  "hex": "#171b73",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 237.391,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29352,
    "c": 0.14603,
    "h": 271.2
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#171B73
secondary
#A9A43D
accent
#E23EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171B73

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

Preview Lab → · Contrast checker → · Palette generator →

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