#172F69#172F69

#172F69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.106 H 264.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#172F69
RGBrgb(23, 47, 105)
HSLhsl(222, 64%, 25%)
HSVhsv(222, 78%, 41%)
CMYKcmyk(78.1%, 55.2%, 0%, 58.8%)
CIE-LABlab(20.96, 13.42, -36.69)
CIE-LCHlch(20.96, 39.07, 290.09°)
OKLaboklab(32.34% -0.0105 -0.1056)
OKLCHoklch(32.34% 0.106 264.3)
XYZxyz(3.9188, 3.2347, 13.7797)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F69 #695117
analogous
#175869 #172F69 #281769
triadic
#172F69 #69172F #2F6917
tetradic
#172F69 #691758 #695117 #176928
square
#172F69 #691758 #695117 #176928
split-complementary
#172F69 #692817 #586917
monochromatic
#050B19 #0C1937 #172F69 #22459B #2D5CCD

Accessibility & contrast

On white

12.75
#172F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#172F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F69
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F69#FFFFFF#000000##FFFFFF
##172F691.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172f69;
/* rgb */ color: rgb(23, 47, 105);
/* oklch */ color: oklch(32.3% 0.106 264.3);
Tailwind
colors: {
  custom: {
    50: '#616794',
    500: '#172f69',
    950: '#000000',
  },
}
SCSS
$custom: #172f69;
$custom-light: #616794;
$custom-dark: #000000;
JSON
{
  "hex": "#172f69",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 222.439,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32337,
    "c": 0.1061,
    "h": 264.3
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#172F69
secondary
#9F823D
accent
#B641E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #172F69

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

Preview Lab → · Contrast checker → · Palette generator →

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