#172E68#172E68

#172E68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.106 H 264.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#172E68
RGBrgb(23, 46, 104)
HSLhsl(223, 64%, 25%)
HSVhsv(223, 78%, 41%)
CMYKcmyk(77.9%, 55.8%, 0%, 59.2%)
CIE-LABlab(20.58, 13.73, -36.66)
CIE-LCHlch(20.58, 39.14, 290.53°)
OKLaboklab(32.02% -0.0097 -0.1055)
OKLCHoklch(32.02% 0.106 264.7)
XYZxyz(3.8282, 3.1352, 13.4974)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E68 #685117
analogous
#175768 #172E68 #281768
triadic
#172E68 #68172E #2E6817
tetradic
#172E68 #681757 #685117 #176828
square
#172E68 #681757 #685117 #176828
split-complementary
#172E68 #682817 #576817
monochromatic
#060B19 #0C1836 #172E68 #22449A #2D5ACC

Accessibility & contrast

On white

12.91
#172E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E68
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E68#FFFFFF#000000##FFFFFF
##172E681.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06356A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172e68;
/* rgb */ color: rgb(23, 46, 104);
/* oklch */ color: oklch(32.0% 0.106 264.7);
Tailwind
colors: {
  custom: {
    50: '#616694',
    500: '#172e68',
    950: '#000000',
  },
}
SCSS
$custom: #172e68;
$custom-light: #616694;
$custom-dark: #000000;
JSON
{
  "hex": "#172e68",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 222.963,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32021,
    "c": 0.10596,
    "h": 264.7
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#172E68
secondary
#9E833D
accent
#B841E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #172E68

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

Preview Lab → · Contrast checker → · Palette generator →

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