#172663#172663

#172663 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.109 H 268.4°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#172663
RGBrgb(23, 38, 99)
HSLhsl(228, 62%, 24%)
HSVhsv(228, 77%, 39%)
CMYKcmyk(76.8%, 61.6%, 0%, 61.2%)
CIE-LABlab(17.78, 17.49, -37.93)
CIE-LCHlch(17.78, 41.77, 294.75°)
OKLaboklab(29.78% -0.0031 -0.1094)
OKLCHoklch(29.78% 0.109 268.4)
XYZxyz(3.2978, 2.4689, 12.1047)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172663 #635417
analogous
#174C63 #172663 #2E1763
triadic
#172663 #631726 #266317
tetradic
#172663 #63174C #635417 #17632E
square
#172663 #63174C #635417 #17632E
split-complementary
#172663 #632E17 #4C6317
monochromatic
#060A19 #0B1331 #172663 #233995 #2E4CC6

Accessibility & contrast

On white

14.06
#172663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172663
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172663#FFFFFF#000000##FFFFFF
##1726631.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172663;
/* rgb */ color: rgb(23, 38, 99);
/* oklch */ color: oklch(29.8% 0.109 268.4);
Tailwind
colors: {
  custom: {
    50: '#606090',
    500: '#172663',
    950: '#000000',
  },
}
SCSS
$custom: #172663;
$custom-light: #606090;
$custom-dark: #000000;
JSON
{
  "hex": "#172663",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 228.158,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29782,
    "c": 0.10943,
    "h": 268.4
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#172663
secondary
#9A873C
accent
#C542E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #172663

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

Preview Lab → · Contrast checker → · Palette generator →

#172663 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva