#172C68#172C68

#172C68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.109 H 265.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#172C68
RGBrgb(23, 44, 104)
HSLhsl(224, 64%, 25%)
HSVhsv(224, 78%, 41%)
CMYKcmyk(77.9%, 57.7%, 0%, 59.2%)
CIE-LABlab(19.97, 15.18, -37.64)
CIE-LCHlch(19.97, 40.58, 291.97°)
OKLaboklab(31.57% -0.0079 -0.1084)
OKLCHoklch(31.57% 0.109 265.8)
XYZxyz(3.7518, 2.9826, 13.4720)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C68 #685317
analogous
#175568 #172C68 #2A1768
triadic
#172C68 #68172C #2C6817
tetradic
#172C68 #681755 #685317 #17682A
square
#172C68 #681755 #685317 #17682A
split-complementary
#172C68 #682A17 #556817
monochromatic
#060B19 #0C1736 #172C68 #22419A #2D56CC

Accessibility & contrast

On white

13.15
#172C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#172C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C68
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C68#FFFFFF#000000##FFFFFF
##172C681.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172c68;
/* rgb */ color: rgb(23, 44, 104);
/* oklch */ color: oklch(31.6% 0.109 265.8);
Tailwind
colors: {
  custom: {
    50: '#616494',
    500: '#172c68',
    950: '#000000',
  },
}
SCSS
$custom: #172c68;
$custom-light: #616494;
$custom-dark: #000000;
JSON
{
  "hex": "#172c68",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 224.444,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.10871,
    "h": 265.8
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#172C68
secondary
#9E853D
accent
#BC41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #172C68

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

Preview Lab → · Contrast checker → · Palette generator →

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