#173160#173160

#173160 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.090 H 261.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#173160
RGBrgb(23, 49, 96)
HSLhsl(219, 61%, 23%)
HSVhsv(219, 76%, 38%)
CMYKcmyk(76%, 49%, 0%, 62.4%)
CIE-LABlab(20.92, 8.21, -30.89)
CIE-LCHlch(20.92, 31.96, 284.88°)
OKLaboklab(32.09% -0.0138 -0.0885)
OKLCHoklch(32.09% 0.09 261.1)
XYZxyz(3.5622, 3.2229, 11.4984)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173160 #604617
analogous
#175560 #173160 #211760
triadic
#173160 #601731 #316017
tetradic
#173160 #601755 #604617 #176021
square
#173160 #601755 #604617 #176021
split-complementary
#173160 #602117 #556017
monochromatic
#060D19 #0B182F #173160 #234A91 #2F63C3

Accessibility & contrast

On white

12.77
#173160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#173160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173160
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173160#FFFFFF#000000##FFFFFF
##1731601.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193662
Deuteranopia (green-blind)
#0A2F5F
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173160;
/* rgb */ color: rgb(23, 49, 96);
/* oklch */ color: oklch(32.1% 0.090 261.1);
Tailwind
colors: {
  custom: {
    50: '#5f688d',
    500: '#173160',
    950: '#000000',
  },
}
SCSS
$custom: #173160;
$custom-light: #5f688d;
$custom-dark: #000000;
JSON
{
  "hex": "#173160",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 218.63,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32089,
    "c": 0.08954,
    "h": 261.1
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#173160
secondary
#97763C
accent
#AB43E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #173160

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

Preview Lab → · Contrast checker → · Palette generator →

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