#172053#172053

#172053 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.093 H 271.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#172053
RGBrgb(23, 32, 83)
HSLhsl(231, 57%, 21%)
HSVhsv(231, 72%, 33%)
CMYKcmyk(72.3%, 61.4%, 0%, 67.5%)
CIE-LABlab(14.62, 15.32, -32.38)
CIE-LCHlch(14.62, 35.82, 295.33°)
OKLaboklab(26.99% 0.002 -0.0931)
OKLCHoklch(26.99% 0.093 271.2)
XYZxyz(2.4307, 1.8395, 8.4089)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172053 #534A17
analogous
#173E53 #172053 #2C1753
triadic
#172053 #531720 #205317
tetradic
#172053 #53173E #534A17 #17532C
square
#172053 #53173E #534A17 #17532C
split-complementary
#172053 #532C17 #3E5317
monochromatic
#070918 #0A0E23 #172053 #243283 #3245B3

Accessibility & contrast

On white

15.35
#172053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#172053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172053
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172053#FFFFFF#000000##FFFFFF
##1720531.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #172053;
/* rgb */ color: rgb(23, 32, 83);
/* oklch */ color: oklch(27.0% 0.093 271.2);
Tailwind
colors: {
  custom: {
    50: '#5d5b84',
    500: '#172053',
    950: '#000000',
  },
}
SCSS
$custom: #172053;
$custom-light: #5d5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#172053",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 83
  },
  "hsl": {
    "h": 231,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26988,
    "c": 0.09317,
    "h": 271.2
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#172053
secondary
#8A7E3C
accent
#C948E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #172053

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

Preview Lab → · Contrast checker → · Palette generator →

#172053 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva