#172F67#172F67

#172F67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.103 H 264.0°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#172F67
RGBrgb(23, 47, 103)
HSLhsl(222, 63%, 25%)
HSVhsv(222, 78%, 40%)
CMYKcmyk(77.7%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.80, 12.59, -35.64)
CIE-LCHlch(20.80, 37.80, 289.45°)
OKLaboklab(32.17% -0.0107 -0.1025)
OKLCHoklch(32.17% 0.103 264)
XYZxyz(3.8172, 3.1940, 13.2447)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F67 #674F17
analogous
#175767 #172F67 #271767
triadic
#172F67 #67172F #2F6717
tetradic
#172F67 #671757 #674F17 #176727
square
#172F67 #671757 #674F17 #176727
split-complementary
#172F67 #672717 #576717
monochromatic
#060B19 #0C1835 #172F67 #224699 #2D5DCB

Accessibility & contrast

On white

12.81
#172F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#172F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F67
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F67#FFFFFF#000000##FFFFFF
##172F671.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3669
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172f67;
/* rgb */ color: rgb(23, 47, 103);
/* oklch */ color: oklch(32.2% 0.103 264.0);
Tailwind
colors: {
  custom: {
    50: '#616793',
    500: '#172f67',
    950: '#000000',
  },
}
SCSS
$custom: #172f67;
$custom-light: #616793;
$custom-dark: #000000;
JSON
{
  "hex": "#172f67",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 222,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.10305,
    "h": 264
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#172F67
secondary
#9D803D
accent
#B541E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #172F67

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

Preview Lab → · Contrast checker → · Palette generator →

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