#173168#173168

#173168 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.102 H 263.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#173168
RGBrgb(23, 49, 104)
HSLhsl(221, 64%, 25%)
HSVhsv(221, 78%, 41%)
CMYKcmyk(77.9%, 52.9%, 0%, 59.2%)
CIE-LABlab(21.50, 11.56, -35.17)
CIE-LCHlch(21.50, 37.02, 288.19°)
OKLaboklab(32.72% -0.0124 -0.1011)
OKLCHoklch(32.72% 0.102 263)
XYZxyz(3.9495, 3.3778, 13.5379)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173168 #684E17
analogous
#175968 #173168 #261768
triadic
#173168 #681731 #316817
tetradic
#173168 #681759 #684E17 #176826
square
#173168 #681759 #684E17 #176826
split-complementary
#173168 #682617 #596817
monochromatic
#060C19 #0C1936 #173168 #22499A #2D60CC

Accessibility & contrast

On white

12.53
#173168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#173168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173168
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173168#FFFFFF#000000##FFFFFF
##1731681.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10376A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173168;
/* rgb */ color: rgb(23, 49, 104);
/* oklch */ color: oklch(32.7% 0.102 263.0);
Tailwind
colors: {
  custom: {
    50: '#616893',
    500: '#173168',
    950: '#000000',
  },
}
SCSS
$custom: #173168;
$custom-light: #616893;
$custom-dark: #000000;
JSON
{
  "hex": "#173168",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 220.741,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32721,
    "c": 0.10184,
    "h": 263
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#173168
secondary
#9E7F3D
accent
#B241E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173168

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

Preview Lab → · Contrast checker → · Palette generator →

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