#172B73#172B73

#172B73 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.126 H 267.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#172B73
RGBrgb(23, 43, 115)
HSLhsl(227, 67%, 27%)
HSVhsv(227, 80%, 45%)
CMYKcmyk(80%, 62.6%, 0%, 54.9%)
CIE-LABlab(20.62, 20.45, -43.69)
CIE-LCHlch(20.62, 48.24, 295.08°)
OKLaboklab(32.35% -0.0066 -0.1262)
OKLCHoklch(32.35% 0.126 267)
XYZxyz(4.3107, 3.1472, 16.5966)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B73 #735F17
analogous
#175973 #172B73 #311773
triadic
#172B73 #73172B #2B7317
tetradic
#172B73 #731759 #735F17 #177331
square
#172B73 #731759 #735F17 #177331
split-complementary
#172B73 #733117 #597317
monochromatic
#050A1A #0D1840 #172B73 #213EA6 #2F53D5

Accessibility & contrast

On white

12.89
#172B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B73
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B73#FFFFFF#000000##FFFFFF
##172B731.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172b73;
/* rgb */ color: rgb(23, 43, 115);
/* oklch */ color: oklch(32.3% 0.126 267.0);
Tailwind
colors: {
  custom: {
    50: '#64649c',
    500: '#172b73',
    950: '#000000',
  },
}
SCSS
$custom: #172b73;
$custom-light: #64649c;
$custom-dark: #000000;
JSON
{
  "hex": "#172b73",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 226.957,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32347,
    "c": 0.1264,
    "h": 267
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#172B73
secondary
#A9913D
accent
#C43EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #172B73

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

Preview Lab → · Contrast checker → · Palette generator →

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