#172453#172453

#172453 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.087 H 268.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#172453
RGBrgb(23, 36, 83)
HSLhsl(227, 57%, 21%)
HSVhsv(227, 72%, 33%)
CMYKcmyk(72.3%, 56.6%, 0%, 67.5%)
CIE-LABlab(15.84, 12.34, -30.40)
CIE-LCHlch(15.84, 32.81, 292.09°)
OKLaboklab(27.91% -0.0022 -0.0873)
OKLCHoklch(27.91% 0.087 268.6)
XYZxyz(2.5450, 2.0682, 8.4470)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172453 #534617
analogous
#174253 #172453 #281753
triadic
#172453 #531724 #245317
tetradic
#172453 #531742 #534617 #175328
square
#172453 #531742 #534617 #175328
split-complementary
#172453 #532817 #425317
monochromatic
#070A18 #0A0F23 #172453 #243983 #324EB3

Accessibility & contrast

On white

14.86
#172453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#172453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172453
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172453#FFFFFF#000000##FFFFFF
##1724531.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A55
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172453;
/* rgb */ color: rgb(23, 36, 83);
/* oklch */ color: oklch(27.9% 0.087 268.6);
Tailwind
colors: {
  custom: {
    50: '#5c5e84',
    500: '#172453',
    950: '#000000',
  },
}
SCSS
$custom: #172453;
$custom-light: #5c5e84;
$custom-dark: #000000;
JSON
{
  "hex": "#172453",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 83
  },
  "hsl": {
    "h": 227,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27905,
    "c": 0.08731,
    "h": 268.6
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#172453
secondary
#8A793C
accent
#BF48E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #172453

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

Preview Lab → · Contrast checker → · Palette generator →

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