#172B69#172B69

#172B69 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.112 H 266.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#172B69
RGBrgb(23, 43, 105)
HSLhsl(225, 64%, 25%)
HSVhsv(225, 78%, 41%)
CMYKcmyk(78.1%, 59%, 0%, 58.8%)
CIE-LABlab(19.76, 16.33, -38.64)
CIE-LCHlch(19.76, 41.94, 292.91°)
OKLaboklab(31.43% -0.007 -0.1114)
OKLCHoklch(31.43% 0.112 266.4)
XYZxyz(3.7661, 2.9294, 13.7288)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B69 #695517
analogous
#175469 #172B69 #2C1769
triadic
#172B69 #69172B #2B6917
tetradic
#172B69 #691754 #695517 #17692C
square
#172B69 #691754 #695517 #17692C
split-complementary
#172B69 #692C17 #546917
monochromatic
#050A19 #0C1637 #172B69 #22409B #2D54CD

Accessibility & contrast

On white

13.24
#172B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#172B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B69
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B69#FFFFFF#000000##FFFFFF
##172B691.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172b69;
/* rgb */ color: rgb(23, 43, 105);
/* oklch */ color: oklch(31.4% 0.112 266.4);
Tailwind
colors: {
  custom: {
    50: '#616394',
    500: '#172b69',
    950: '#000000',
  },
}
SCSS
$custom: #172b69;
$custom-light: #616394;
$custom-dark: #000000;
JSON
{
  "hex": "#172b69",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 105
  },
  "hsl": {
    "h": 225.366,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.1116,
    "h": 266.4
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #172B69

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

Preview Lab → · Contrast checker → · Palette generator →

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