#171A73#171A73

#171A73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.147 H 271.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#171A73
RGBrgb(23, 26, 115)
HSLhsl(238, 67%, 27%)
HSVhsv(238, 80%, 45%)
CMYKcmyk(80%, 77.4%, 0%, 54.9%)
CIE-LABlab(16.30, 32.00, -50.80)
CIE-LCHlch(16.30, 60.04, 302.21°)
OKLaboklab(29.19% 0.0034 -0.1471)
OKLCHoklch(29.19% 0.147 271.3)
XYZxyz(3.8162, 2.1583, 16.4318)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A73 #737017
analogous
#174873 #171A73 #421773
triadic
#171A73 #73171A #1A7317
tetradic
#171A73 #731748 #737017 #177342
square
#171A73 #731748 #737017 #177342
split-complementary
#171A73 #734217 #487317
monochromatic
#05061A #0D0E40 #171A73 #2126A6 #2F34D5

Accessibility & contrast

On white

14.67
#171A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A73
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A73#FFFFFF#000000##FFFFFF
##171A731.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171a73;
/* rgb */ color: rgb(23, 26, 115);
/* oklch */ color: oklch(29.2% 0.147 271.3);
Tailwind
colors: {
  custom: {
    50: '#66579c',
    500: '#171a73',
    950: '#000000',
  },
}
SCSS
$custom: #171a73;
$custom-light: #66579c;
$custom-dark: #000000;
JSON
{
  "hex": "#171a73",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 238.043,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29193,
    "c": 0.14711,
    "h": 271.3
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#171A73
secondary
#A9A53D
accent
#E43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171A73

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

Preview Lab → · Contrast checker → · Palette generator →

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