#172564#172564

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

Color values

HEX#172564
RGBrgb(23, 37, 100)
HSLhsl(229, 63%, 24%)
HSVhsv(229, 77%, 39%)
CMYKcmyk(77%, 63%, 0%, 60.8%)
CIE-LABlab(17.58, 18.63, -38.92)
CIE-LCHlch(17.58, 43.15, 295.58°)
OKLaboklab(29.66% -0.0022 -0.1123)
OKLCHoklch(29.66% 0.112 268.9)
XYZxyz(3.3144, 2.4250, 12.3475)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172564 #645617
analogous
#174C64 #172564 #301764
triadic
#172564 #641725 #256417
tetradic
#172564 #64174C #645617 #176430
square
#172564 #64174C #645617 #176430
split-complementary
#172564 #643017 #4C6417
monochromatic
#060919 #0C1332 #172564 #223796 #2E4AC8

Accessibility & contrast

On white

14.14
#172564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172564
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172564#FFFFFF#000000##FFFFFF
##1725641.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172564;
/* rgb */ color: rgb(23, 37, 100);
/* oklch */ color: oklch(29.7% 0.112 268.9);
Tailwind
colors: {
  custom: {
    50: '#615f91',
    500: '#172564',
    950: '#000000',
  },
}
SCSS
$custom: #172564;
$custom-light: #615f91;
$custom-dark: #000000;
JSON
{
  "hex": "#172564",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 229.091,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2966,
    "c": 0.11232,
    "h": 268.9
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#172564
secondary
#9A893C
accent
#C842E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #172564

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

Preview Lab → · Contrast checker → · Palette generator →

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