#172F65#172F65

#172F65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.100 H 263.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#172F65
RGBrgb(23, 47, 101)
HSLhsl(222, 63%, 24%)
HSVhsv(222, 77%, 40%)
CMYKcmyk(77.2%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.65, 11.75, -34.58)
CIE-LCHlch(20.65, 36.52, 288.76°)
OKLaboklab(32% -0.011 -0.0994)
OKLCHoklch(32% 0.1 263.7)
XYZxyz(3.7180, 3.1544, 12.7223)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F65 #654D17
analogous
#175665 #172F65 #261765
triadic
#172F65 #65172F #2F6517
tetradic
#172F65 #651756 #654D17 #176526
square
#172F65 #651756 #654D17 #176526
split-complementary
#172F65 #652617 #566517
monochromatic
#060C19 #0C1833 #172F65 #224697 #2E5DC9

Accessibility & contrast

On white

12.88
#172F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F65
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F65#FFFFFF#000000##FFFFFF
##172F651.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3667
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172f65;
/* rgb */ color: rgb(23, 47, 101);
/* oklch */ color: oklch(32.0% 0.100 263.7);
Tailwind
colors: {
  custom: {
    50: '#606791',
    500: '#172f65',
    950: '#000000',
  },
}
SCSS
$custom: #172f65;
$custom-light: #606791;
$custom-dark: #000000;
JSON
{
  "hex": "#172f65",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 221.538,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32004,
    "c": 0.1,
    "h": 263.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#172F65
secondary
#9B7E3C
accent
#B342E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #172F65

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

Preview Lab → · Contrast checker → · Palette generator →

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