#172E5D#172E5D

#172E5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.089 H 262.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#172E5D
RGBrgb(23, 46, 93)
HSLhsl(220, 60%, 23%)
HSVhsv(220, 75%, 36%)
CMYKcmyk(75.3%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.75, 9.13, -30.79)
CIE-LCHlch(19.75, 32.12, 286.51°)
OKLaboklab(31.12% -0.0112 -0.0882)
OKLCHoklch(31.12% 0.089 262.7)
XYZxyz(3.3054, 2.9261, 10.7444)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E5D #5D4617
analogous
#17515D #172E5D #23175D
triadic
#172E5D #5D172E #2E5D17
tetradic
#172E5D #5D1751 #5D4617 #175D23
square
#172E5D #5D1751 #5D4617 #175D23
split-complementary
#172E5D #5D2317 #515D17
monochromatic
#060C19 #0B162C #172E5D #23468E #2F5FBF

Accessibility & contrast

On white

13.25
#172E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#172E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E5D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E5D#FFFFFF#000000##FFFFFF
##172E5D1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#062D5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172e5d;
/* rgb */ color: rgb(23, 46, 93);
/* oklch */ color: oklch(31.1% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#5e668b',
    500: '#172e5d',
    950: '#000000',
  },
}
SCSS
$custom: #172e5d;
$custom-light: #5e668b;
$custom-dark: #000000;
JSON
{
  "hex": "#172e5d",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 220.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31122,
    "c": 0.08896,
    "h": 262.7
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#172E5D
secondary
#94773C
accent
#AF44E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #172E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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