#172B68#172B68

#172B68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.110 H 266.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#172B68
RGBrgb(23, 43, 104)
HSLhsl(225, 64%, 25%)
HSVhsv(225, 78%, 41%)
CMYKcmyk(77.9%, 58.7%, 0%, 59.2%)
CIE-LABlab(19.68, 15.91, -38.12)
CIE-LCHlch(19.68, 41.31, 292.65°)
OKLaboklab(31.34% -0.0071 -0.1099)
OKLCHoklch(31.34% 0.11 266.3)
XYZxyz(3.7150, 2.9090, 13.4597)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B68 #685417
analogous
#175468 #172B68 #2B1768
triadic
#172B68 #68172B #2B6817
tetradic
#172B68 #681754 #685417 #17682B
square
#172B68 #681754 #685417 #17682B
split-complementary
#172B68 #682B17 #546817
monochromatic
#060A19 #0C1636 #172B68 #22409A #2D54CC

Accessibility & contrast

On white

13.28
#172B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B68
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B68#FFFFFF#000000##FFFFFF
##172B681.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172b68;
/* rgb */ color: rgb(23, 43, 104);
/* oklch */ color: oklch(31.3% 0.110 266.3);
Tailwind
colors: {
  custom: {
    50: '#616394',
    500: '#172b68',
    950: '#000000',
  },
}
SCSS
$custom: #172b68;
$custom-light: #616394;
$custom-dark: #000000;
JSON
{
  "hex": "#172b68",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 225.185,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.1101,
    "h": 266.3
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#172B68
secondary
#9E863D
accent
#BE41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #172B68

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

Preview Lab → · Contrast checker → · Palette generator →

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