#172D59#172D59

#172D59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.084 H 262.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#172D59
RGBrgb(23, 45, 89)
HSLhsl(220, 59%, 22%)
HSVhsv(220, 74%, 35%)
CMYKcmyk(74.2%, 49.4%, 0%, 65.1%)
CIE-LABlab(19.14, 8.19, -29.11)
CIE-LCHlch(19.14, 30.24, 285.71°)
OKLaboklab(30.57% -0.0109 -0.0833)
OKLCHoklch(30.57% 0.084 262.5)
XYZxyz(3.0943, 2.7799, 9.8228)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D59 #594317
analogous
#174E59 #172D59 #221759
triadic
#172D59 #59172D #2D5917
tetradic
#172D59 #59174E #594317 #175922
square
#172D59 #59174E #594317 #175922
split-complementary
#172D59 #592217 #4E5917
monochromatic
#060C18 #0A1428 #172D59 #24468A #305EBA

Accessibility & contrast

On white

13.50
#172D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D59
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D59#FFFFFF#000000##FFFFFF
##172D591.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325B
Deuteranopia (green-blind)
#0A2C58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172d59;
/* rgb */ color: rgb(23, 45, 89);
/* oklch */ color: oklch(30.6% 0.084 262.5);
Tailwind
colors: {
  custom: {
    50: '#5d6588',
    500: '#172d59',
    950: '#000000',
  },
}
SCSS
$custom: #172d59;
$custom-light: #5d6588;
$custom-dark: #000000;
JSON
{
  "hex": "#172d59",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 220,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30565,
    "c": 0.08404,
    "h": 262.5
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#172D59
secondary
#90743C
accent
#AE46E2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #172D59

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

Preview Lab → · Contrast checker → · Palette generator →

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