#172568#172568

#172568 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.118 H 268.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#172568
RGBrgb(23, 37, 104)
HSLhsl(230, 64%, 25%)
HSVhsv(230, 78%, 41%)
CMYKcmyk(77.9%, 64.4%, 0%, 59.2%)
CIE-LABlab(17.94, 20.26, -40.95)
CIE-LCHlch(17.94, 45.69, 296.33°)
OKLaboklab(30.04% -0.0022 -0.1183)
OKLCHoklch(30.04% 0.118 268.9)
XYZxyz(3.5127, 2.5044, 13.3923)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172568 #685A17
analogous
#174D68 #172568 #321768
triadic
#172568 #681725 #256817
tetradic
#172568 #68174D #685A17 #176832
square
#172568 #68174D #685A17 #176832
split-complementary
#172568 #683217 #4D6817
monochromatic
#060919 #0C1336 #172568 #22379A #2D49CC

Accessibility & contrast

On white

13.99
#172568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172568
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172568#FFFFFF#000000##FFFFFF
##1725681.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172568;
/* rgb */ color: rgb(23, 37, 104);
/* oklch */ color: oklch(30.0% 0.118 268.9);
Tailwind
colors: {
  custom: {
    50: '#625f94',
    500: '#172568',
    950: '#000000',
  },
}
SCSS
$custom: #172568;
$custom-light: #625f94;
$custom-dark: #000000;
JSON
{
  "hex": "#172568",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 229.63,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.11829,
    "h": 268.9
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#172568
secondary
#9E8D3D
accent
#CA41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #172568

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

Preview Lab → · Contrast checker → · Palette generator →

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