#172E53#172E53

#172E53 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.073 H 259.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#172E53
RGBrgb(23, 46, 83)
HSLhsl(217, 57%, 21%)
HSVhsv(217, 72%, 33%)
CMYKcmyk(72.3%, 44.6%, 0%, 67.5%)
CIE-LABlab(19.06, 4.97, -25.24)
CIE-LCHlch(19.06, 25.73, 281.14°)
OKLaboklab(30.37% -0.0133 -0.0719)
OKLCHoklch(30.37% 0.073 259.5)
XYZxyz(2.8911, 2.7604, 8.5624)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E53 #533C17
analogous
#174C53 #172E53 #1E1753
triadic
#172E53 #53172E #2E5317
tetradic
#172E53 #53174C #533C17 #17531E
square
#172E53 #53174C #533C17 #17531E
split-complementary
#172E53 #531E17 #4C5317
monochromatic
#070D18 #0A1323 #172E53 #244983 #3263B3

Accessibility & contrast

On white

13.53
#172E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E53
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E53#FFFFFF#000000##FFFFFF
##172E531.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#142C52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172e53;
/* rgb */ color: rgb(23, 46, 83);
/* oklch */ color: oklch(30.4% 0.073 259.5);
Tailwind
colors: {
  custom: {
    50: '#5c6683',
    500: '#172e53',
    950: '#000000',
  },
}
SCSS
$custom: #172e53;
$custom-light: #5c6683;
$custom-dark: #000000;
JSON
{
  "hex": "#172e53",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 217,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30369,
    "c": 0.07317,
    "h": 259.5
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#172E53
secondary
#8A6C3C
accent
#A648E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #172E53

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

Preview Lab → · Contrast checker → · Palette generator →

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