#172D67#172D67

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

Color values

HEX#172D67
RGBrgb(23, 45, 103)
HSLhsl(224, 63%, 25%)
HSVhsv(224, 78%, 40%)
CMYKcmyk(77.7%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.19, 14.04, -36.63)
CIE-LCHlch(20.19, 39.23, 290.97°)
OKLaboklab(31.71% -0.0089 -0.1054)
OKLCHoklch(31.71% 0.106 265.2)
XYZxyz(3.7391, 3.0378, 13.2186)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D67 #675117
analogous
#175567 #172D67 #291767
triadic
#172D67 #67172D #2D6717
tetradic
#172D67 #671755 #675117 #176729
square
#172D67 #671755 #675117 #176729
split-complementary
#172D67 #672917 #556717
monochromatic
#060B19 #0C1735 #172D67 #224399 #2D59CB

Accessibility & contrast

On white

13.06
#172D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#172D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D67
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D67#FFFFFF#000000##FFFFFF
##172D671.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043569
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172d67;
/* rgb */ color: rgb(23, 45, 103);
/* oklch */ color: oklch(31.7% 0.106 265.2);
Tailwind
colors: {
  custom: {
    50: '#616593',
    500: '#172d67',
    950: '#000000',
  },
}
SCSS
$custom: #172d67;
$custom-light: #616593;
$custom-dark: #000000;
JSON
{
  "hex": "#172d67",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 223.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.10582,
    "h": 265.2
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#172D67
secondary
#9D833D
accent
#B941E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #172D67

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

Preview Lab → · Contrast checker → · Palette generator →

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