#172B63#172B63

#172B63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.102 H 265.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#172B63
RGBrgb(23, 43, 99)
HSLhsl(224, 62%, 24%)
HSVhsv(224, 77%, 39%)
CMYKcmyk(76.8%, 56.6%, 0%, 61.2%)
CIE-LABlab(19.27, 13.83, -35.51)
CIE-LCHlch(19.27, 38.11, 291.28°)
OKLaboklab(30.9% -0.0075 -0.1022)
OKLCHoklch(30.9% 0.102 265.8)
XYZxyz(3.4686, 2.8104, 12.1616)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B63 #634F17
analogous
#175163 #172B63 #291763
triadic
#172B63 #63172B #2B6317
tetradic
#172B63 #631751 #634F17 #176329
square
#172B63 #631751 #634F17 #176329
split-complementary
#172B63 #632917 #516317
monochromatic
#060B19 #0B1531 #172B63 #234195 #2E56C6

Accessibility & contrast

On white

13.44
#172B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B63
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B63#FFFFFF#000000##FFFFFF
##172B631.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172b63;
/* rgb */ color: rgb(23, 43, 99);
/* oklch */ color: oklch(30.9% 0.102 265.8);
Tailwind
colors: {
  custom: {
    50: '#606390',
    500: '#172b63',
    950: '#000000',
  },
}
SCSS
$custom: #172b63;
$custom-light: #606390;
$custom-dark: #000000;
JSON
{
  "hex": "#172b63",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 224.211,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30903,
    "c": 0.10247,
    "h": 265.8
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#172B63
secondary
#9A813C
accent
#BA42E5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #172B63

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

Preview Lab → · Contrast checker → · Palette generator →

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