#172563#172563

#172563 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.111 H 268.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#172563
RGBrgb(23, 37, 99)
HSLhsl(229, 62%, 24%)
HSVhsv(229, 77%, 39%)
CMYKcmyk(76.8%, 62.6%, 0%, 61.2%)
CIE-LABlab(17.49, 18.22, -38.40)
CIE-LCHlch(17.49, 42.51, 295.38°)
OKLaboklab(29.57% -0.0022 -0.1108)
OKLCHoklch(29.57% 0.111 268.9)
XYZxyz(3.2663, 2.4058, 12.0942)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172563 #635517
analogous
#174B63 #172563 #2F1763
triadic
#172563 #631725 #256317
tetradic
#172563 #63174B #635517 #17632F
square
#172563 #63174B #635517 #17632F
split-complementary
#172563 #632F17 #4B6317
monochromatic
#060919 #0B1231 #172563 #233895 #2E4AC6

Accessibility & contrast

On white

14.18
#172563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172563
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172563#FFFFFF#000000##FFFFFF
##1725631.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172563;
/* rgb */ color: rgb(23, 37, 99);
/* oklch */ color: oklch(29.6% 0.111 268.9);
Tailwind
colors: {
  custom: {
    50: '#605f90',
    500: '#172563',
    950: '#000000',
  },
}
SCSS
$custom: #172563;
$custom-light: #605f90;
$custom-dark: #000000;
JSON
{
  "hex": "#172563",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 228.947,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29566,
    "c": 0.11081,
    "h": 268.9
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#172563
secondary
#9A883C
accent
#C742E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #172563

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

Preview Lab → · Contrast checker → · Palette generator →

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