#172E59#172E59

#172E59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.083 H 261.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#172E59
RGBrgb(23, 46, 89)
HSLhsl(219, 59%, 22%)
HSVhsv(219, 74%, 35%)
CMYKcmyk(74.2%, 48.3%, 0%, 65.1%)
CIE-LABlab(19.46, 7.46, -28.60)
CIE-LCHlch(19.46, 29.55, 284.62°)
OKLaboklab(30.81% -0.012 -0.0818)
OKLCHoklch(30.81% 0.083 261.7)
XYZxyz(3.1329, 2.8571, 9.8356)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E59 #594217
analogous
#174F59 #172E59 #211759
triadic
#172E59 #59172E #2E5917
tetradic
#172E59 #59174F #594217 #175921
square
#172E59 #59174F #594217 #175921
split-complementary
#172E59 #592117 #4F5917
monochromatic
#060D18 #0A1528 #172E59 #24478A #3060BA

Accessibility & contrast

On white

13.36
#172E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#172E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E59
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E59#FFFFFF#000000##FFFFFF
##172E591.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325B
Deuteranopia (green-blind)
#0D2C58
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172e59;
/* rgb */ color: rgb(23, 46, 89);
/* oklch */ color: oklch(30.8% 0.083 261.7);
Tailwind
colors: {
  custom: {
    50: '#5d6688',
    500: '#172e59',
    950: '#000000',
  },
}
SCSS
$custom: #172e59;
$custom-light: #5d6688;
$custom-dark: #000000;
JSON
{
  "hex": "#172e59",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 219.091,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30813,
    "c": 0.08267,
    "h": 261.7
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#172E59
secondary
#90733C
accent
#AC46E2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #172E59

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

Preview Lab → · Contrast checker → · Palette generator →

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