#172153#172153

#172153 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.092 H 270.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#172153
RGBrgb(23, 33, 83)
HSLhsl(230, 57%, 21%)
HSVhsv(230, 72%, 33%)
CMYKcmyk(72.3%, 60.2%, 0%, 67.5%)
CIE-LABlab(14.92, 14.58, -31.89)
CIE-LCHlch(14.92, 35.06, 294.57°)
OKLaboklab(27.21% 0.0009 -0.0917)
OKLCHoklch(27.21% 0.092 270.6)
XYZxyz(2.4580, 1.8942, 8.4180)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172153 #534917
analogous
#173F53 #172153 #2B1753
triadic
#172153 #531721 #215317
tetradic
#172153 #53173F #534917 #17532B
square
#172153 #53173F #534917 #17532B
split-complementary
#172153 #532B17 #3F5317
monochromatic
#070A18 #0A0E23 #172153 #243483 #3247B3

Accessibility & contrast

On white

15.23
#172153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#172153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172153
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172153#FFFFFF#000000##FFFFFF
##1721531.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172153;
/* rgb */ color: rgb(23, 33, 83);
/* oklch */ color: oklch(27.2% 0.092 270.6);
Tailwind
colors: {
  custom: {
    50: '#5c5b84',
    500: '#172153',
    950: '#000000',
  },
}
SCSS
$custom: #172153;
$custom-light: #5c5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#172153",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 230,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27213,
    "c": 0.0917,
    "h": 270.6
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#172153
secondary
#8A7D3C
accent
#C748E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #172153

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

Preview Lab → · Contrast checker → · Palette generator →

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