#172B59#172B59

#172B59 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.087 H 264.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#172B59
RGBrgb(23, 43, 89)
HSLhsl(222, 59%, 22%)
HSVhsv(222, 74%, 35%)
CMYKcmyk(74.2%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.50, 9.65, -30.14)
CIE-LCHlch(18.50, 31.65, 287.76°)
OKLaboklab(30.08% -0.0088 -0.0864)
OKLCHoklch(30.08% 0.087 264.2)
XYZxyz(3.0198, 2.6309, 9.7979)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B59 #594517
analogous
#174C59 #172B59 #241759
triadic
#172B59 #59172B #2B5917
tetradic
#172B59 #59174C #594517 #175924
square
#172B59 #59174C #594517 #175924
split-complementary
#172B59 #592417 #4C5917
monochromatic
#060C18 #0A1428 #172B59 #24428A #305ABA

Accessibility & contrast

On white

13.76
#172B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B59
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B59#FFFFFF#000000##FFFFFF
##172B591.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#042A58
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172b59;
/* rgb */ color: rgb(23, 43, 89);
/* oklch */ color: oklch(30.1% 0.087 264.2);
Tailwind
colors: {
  custom: {
    50: '#5d6388',
    500: '#172b59',
    950: '#000000',
  },
}
SCSS
$custom: #172b59;
$custom-light: #5d6388;
$custom-dark: #000000;
JSON
{
  "hex": "#172b59",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 221.818,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.08684,
    "h": 264.2
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#172B59
secondary
#90763C
accent
#B346E2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #172B59

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

Preview Lab → · Contrast checker → · Palette generator →

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