#172D69#172D69

#172D69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.109 H 265.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#172D69
RGBrgb(23, 45, 105)
HSLhsl(224, 64%, 25%)
HSVhsv(224, 78%, 41%)
CMYKcmyk(78.1%, 57.1%, 0%, 58.8%)
CIE-LABlab(20.36, 14.87, -37.67)
CIE-LCHlch(20.36, 40.50, 291.55°)
OKLaboklab(31.88% -0.0087 -0.1085)
OKLCHoklch(31.88% 0.109 265.4)
XYZxyz(3.8406, 3.0784, 13.7536)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D69 #695317
analogous
#175669 #172D69 #2A1769
triadic
#172D69 #69172D #2D6917
tetradic
#172D69 #691756 #695317 #17692A
square
#172D69 #691756 #695317 #17692A
split-complementary
#172D69 #692A17 #566917
monochromatic
#050B19 #0C1737 #172D69 #22439B #2D58CD

Accessibility & contrast

On white

13.00
#172D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#172D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D69
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D69#FFFFFF#000000##FFFFFF
##172D691.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172d69;
/* rgb */ color: rgb(23, 45, 105);
/* oklch */ color: oklch(31.9% 0.109 265.4);
Tailwind
colors: {
  custom: {
    50: '#616594',
    500: '#172d69',
    950: '#000000',
  },
}
SCSS
$custom: #172d69;
$custom-light: #616594;
$custom-dark: #000000;
JSON
{
  "hex": "#172d69",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 223.902,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31879,
    "c": 0.10885,
    "h": 265.4
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#172D69
secondary
#9F853D
accent
#BA41E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #172D69

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

Preview Lab → · Contrast checker → · Palette generator →

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