#172C69#172C69

#172C69 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.110 H 265.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#172C69
RGBrgb(23, 44, 105)
HSLhsl(225, 64%, 25%)
HSVhsv(225, 78%, 41%)
CMYKcmyk(78.1%, 58.1%, 0%, 58.8%)
CIE-LABlab(20.06, 15.60, -38.15)
CIE-LCHlch(20.06, 41.22, 292.24°)
OKLaboklab(31.65% -0.0079 -0.1099)
OKLCHoklch(31.65% 0.11 265.9)
XYZxyz(3.8029, 3.0030, 13.7411)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C69 #695417
analogous
#175569 #172C69 #2B1769
triadic
#172C69 #69172C #2C6917
tetradic
#172C69 #691755 #695417 #17692B
square
#172C69 #691755 #695417 #17692B
split-complementary
#172C69 #692B17 #556917
monochromatic
#050B19 #0C1737 #172C69 #22419B #2D56CD

Accessibility & contrast

On white

13.12
#172C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C69
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C69#FFFFFF#000000##FFFFFF
##172C691.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172c69;
/* rgb */ color: rgb(23, 44, 105);
/* oklch */ color: oklch(31.7% 0.110 265.9);
Tailwind
colors: {
  custom: {
    50: '#616494',
    500: '#172c69',
    950: '#000000',
  },
}
SCSS
$custom: #172c69;
$custom-light: #616494;
$custom-dark: #000000;
JSON
{
  "hex": "#172c69",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 224.634,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31653,
    "c": 0.11023,
    "h": 265.9
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #172C69

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

Preview Lab → · Contrast checker → · Palette generator →

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