#173368#173368

#173368 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.099 H 261.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#173368
RGBrgb(23, 51, 104)
HSLhsl(219, 64%, 25%)
HSVhsv(219, 78%, 41%)
CMYKcmyk(77.9%, 51%, 0%, 59.2%)
CIE-LABlab(22.12, 10.11, -34.17)
CIE-LCHlch(22.12, 35.63, 286.49°)
OKLaboklab(33.2% -0.0143 -0.0981)
OKLCHoklch(33.2% 0.099 261.7)
XYZxyz(4.0350, 3.5488, 13.5664)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173368 #684C17
analogous
#175C68 #173368 #231768
triadic
#173368 #681733 #336817
tetradic
#173368 #68175C #684C17 #176823
square
#173368 #68175C #684C17 #176823
split-complementary
#173368 #682317 #5C6817
monochromatic
#060C19 #0C1A36 #173368 #224C9A #2D64CC

Accessibility & contrast

On white

12.28
#173368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173368
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173368#FFFFFF#000000##FFFFFF
##1733681.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16396A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173368;
/* rgb */ color: rgb(23, 51, 104);
/* oklch */ color: oklch(33.2% 0.099 261.7);
Tailwind
colors: {
  custom: {
    50: '#616a93',
    500: '#173368',
    950: '#000000',
  },
}
SCSS
$custom: #173368;
$custom-light: #616a93;
$custom-dark: #000000;
JSON
{
  "hex": "#173368",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 219.259,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.09912,
    "h": 261.7
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#173368
secondary
#9E7C3D
accent
#AD41E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #173368

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

Preview Lab → · Contrast checker → · Palette generator →

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