#172853#172853

#172853 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.081 H 265.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#172853
RGBrgb(23, 40, 83)
HSLhsl(223, 57%, 21%)
HSVhsv(223, 72%, 33%)
CMYKcmyk(72.3%, 51.8%, 0%, 67.5%)
CIE-LABlab(17.10, 9.36, -28.37)
CIE-LCHlch(17.10, 29.87, 288.27°)
OKLaboklab(28.87% -0.0065 -0.0812)
OKLCHoklch(28.87% 0.081 265.4)
XYZxyz(2.6729, 2.3240, 8.4897)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172853 #534217
analogous
#174653 #172853 #241753
triadic
#172853 #531728 #285317
tetradic
#172853 #531746 #534217 #175324
square
#172853 #531746 #534217 #175324
split-complementary
#172853 #532417 #465317
monochromatic
#070C18 #0A1123 #172853 #243F83 #3256B3

Accessibility & contrast

On white

14.34
#172853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172853
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172853#FFFFFF#000000##FFFFFF
##1728531.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D55
Deuteranopia (green-blind)
#062852
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172853;
/* rgb */ color: rgb(23, 40, 83);
/* oklch */ color: oklch(28.9% 0.081 265.4);
Tailwind
colors: {
  custom: {
    50: '#5c6184',
    500: '#172853',
    950: '#000000',
  },
}
SCSS
$custom: #172853;
$custom-light: #5c6184;
$custom-dark: #000000;
JSON
{
  "hex": "#172853",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 223,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28865,
    "c": 0.08149,
    "h": 265.4
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#172853
secondary
#8A743C
accent
#B548E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #172853

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

Preview Lab → · Contrast checker → · Palette generator →

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