#172677#172677

#172677 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.139 H 268.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#172677
RGBrgb(23, 38, 119)
HSLhsl(231, 68%, 28%)
HSVhsv(231, 81%, 47%)
CMYKcmyk(80.7%, 68.1%, 0%, 53.3%)
CIE-LABlab(19.64, 25.58, -47.87)
CIE-LCHlch(19.64, 54.27, 298.12°)
OKLaboklab(31.73% -0.0034 -0.1385)
OKLCHoklch(31.73% 0.139 268.6)
XYZxyz(4.3751, 2.8998, 17.7783)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172677 #776817
analogous
#175677 #172677 #381777
triadic
#172677 #771726 #267717
tetradic
#172677 #771756 #776817 #177738
square
#172677 #771756 #776817 #177738
split-complementary
#172677 #773817 #567717
monochromatic
#05081A #0D1644 #172677 #2136AA #314BD7

Accessibility & contrast

On white

13.29
#172677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172677
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172677#FFFFFF#000000##FFFFFF
##1726771.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172677;
/* rgb */ color: rgb(23, 38, 119);
/* oklch */ color: oklch(31.7% 0.139 268.6);
Tailwind
colors: {
  custom: {
    50: '#66609f',
    500: '#172677',
    950: '#000000',
  },
}
SCSS
$custom: #172677;
$custom-light: #66609f;
$custom-dark: #000000;
JSON
{
  "hex": "#172677",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 230.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31734,
    "c": 0.13857,
    "h": 268.6
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#172677
secondary
#AC9B3E
accent
#CF3DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #172677

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

Preview Lab → · Contrast checker → · Palette generator →

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