#172B65#172B65

#172B65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.106 H 266.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#172B65
RGBrgb(23, 43, 101)
HSLhsl(225, 63%, 24%)
HSVhsv(225, 77%, 40%)
CMYKcmyk(77.2%, 57.4%, 0%, 60.4%)
CIE-LABlab(19.43, 14.66, -36.56)
CIE-LCHlch(19.43, 39.39, 291.86°)
OKLaboklab(31.08% -0.0073 -0.1053)
OKLCHoklch(31.08% 0.106 266)
XYZxyz(3.5654, 2.8491, 12.6714)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B65 #655117
analogous
#175265 #172B65 #2A1765
triadic
#172B65 #65172B #2B6517
tetradic
#172B65 #651752 #655117 #17652A
square
#172B65 #651752 #655117 #17652A
split-complementary
#172B65 #652A17 #526517
monochromatic
#060B19 #0C1633 #172B65 #224097 #2E55C9

Accessibility & contrast

On white

13.38
#172B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#172B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B65
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B65#FFFFFF#000000##FFFFFF
##172B651.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172b65;
/* rgb */ color: rgb(23, 43, 101);
/* oklch */ color: oklch(31.1% 0.106 266.0);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#172b65',
    950: '#000000',
  },
}
SCSS
$custom: #172b65;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#172b65",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 224.615,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.10553,
    "h": 266
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#172B65
secondary
#9B833C
accent
#BC42E6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #172B65

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

Preview Lab → · Contrast checker → · Palette generator →

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