#172641#172641

#172641 is a dark, muted blue. Relative luminance 0.019; OKLCH L 27.0% C 0.055 H 261.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#172641
RGBrgb(23, 38, 65)
HSLhsl(219, 48%, 17%)
HSVhsv(219, 65%, 25%)
CMYKcmyk(64.6%, 41.5%, 0%, 74.5%)
CIE-LABlab(15.22, 3.47, -19.06)
CIE-LCHlch(15.22, 19.37, 280.31°)
OKLaboklab(27.02% -0.0081 -0.0539)
OKLCHoklch(27.02% 0.055 261.4)
XYZxyz(2.0003, 1.9499, 5.2710)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172641 #413217
analogous
#173B41 #172641 #1D1741
triadic
#172641 #411726 #264117
tetradic
#172641 #41173B #413217 #17411D
square
#172641 #41173B #413217 #17411D
split-complementary
#172641 #411D17 #3B4117
monochromatic
#080D17 #080D17 #172641 #27406E #375B9B

Accessibility & contrast

On white

15.11
#172641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#172641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172641
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172641#FFFFFF#000000##FFFFFF
##1726411.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2842
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172641;
/* rgb */ color: rgb(23, 38, 65);
/* oklch */ color: oklch(27.0% 0.055 261.4);
Tailwind
colors: {
  custom: {
    50: '#586075',
    500: '#172641',
    950: '#000000',
  },
}
SCSS
$custom: #172641;
$custom-light: #586075;
$custom-dark: #000000;
JSON
{
  "hex": "#172641",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 218.571,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27021,
    "c": 0.05456,
    "h": 261.4
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#172641
secondary
#78623C
accent
#A750D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #172641

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

Preview Lab → · Contrast checker → · Palette generator →

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