#172C63#172C63

#172C63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.101 H 265.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#172C63
RGBrgb(23, 44, 99)
HSLhsl(223, 62%, 24%)
HSVhsv(223, 77%, 39%)
CMYKcmyk(76.8%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.57, 13.10, -35.02)
CIE-LCHlch(19.57, 37.39, 290.51°)
OKLaboklab(31.14% -0.0084 -0.1007)
OKLCHoklch(31.14% 0.101 265.2)
XYZxyz(3.5054, 2.8840, 12.1739)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C63 #634E17
analogous
#175263 #172C63 #281763
triadic
#172C63 #63172C #2C6317
tetradic
#172C63 #631752 #634E17 #176328
square
#172C63 #631752 #634E17 #176328
split-complementary
#172C63 #632817 #526317
monochromatic
#060B19 #0B1631 #172C63 #234295 #2E58C6

Accessibility & contrast

On white

13.32
#172C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C63
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C63#FFFFFF#000000##FFFFFF
##172C631.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172c63;
/* rgb */ color: rgb(23, 44, 99);
/* oklch */ color: oklch(31.1% 0.101 265.2);
Tailwind
colors: {
  custom: {
    50: '#606490',
    500: '#172c63',
    950: '#000000',
  },
}
SCSS
$custom: #172c63;
$custom-light: #606490;
$custom-dark: #000000;
JSON
{
  "hex": "#172c63",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 223.421,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31135,
    "c": 0.10107,
    "h": 265.2
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#172C63
secondary
#9A803C
accent
#B842E5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #172C63

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

Preview Lab → · Contrast checker → · Palette generator →

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