#173165#173165

#173165 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.097 H 262.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#173165
RGBrgb(23, 49, 101)
HSLhsl(220, 63%, 24%)
HSVhsv(220, 77%, 40%)
CMYKcmyk(77.2%, 51.5%, 0%, 60.4%)
CIE-LABlab(21.27, 10.30, -33.58)
CIE-LCHlch(21.27, 35.12, 287.05°)
OKLaboklab(32.48% -0.0129 -0.0964)
OKLCHoklch(32.48% 0.097 262.4)
XYZxyz(3.7998, 3.3180, 12.7496)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173165 #654B17
analogous
#175865 #173165 #241765
triadic
#173165 #651731 #316517
tetradic
#173165 #651758 #654B17 #176524
square
#173165 #651758 #654B17 #176524
split-complementary
#173165 #652417 #586517
monochromatic
#060C19 #0C1933 #173165 #224997 #2E61C9

Accessibility & contrast

On white

12.62
#173165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#173165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173165
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173165#FFFFFF#000000##FFFFFF
##1731651.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143767
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173165;
/* rgb */ color: rgb(23, 49, 101);
/* oklch */ color: oklch(32.5% 0.097 262.4);
Tailwind
colors: {
  custom: {
    50: '#606891',
    500: '#173165',
    950: '#000000',
  },
}
SCSS
$custom: #173165;
$custom-light: #606891;
$custom-dark: #000000;
JSON
{
  "hex": "#173165",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 220,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3248,
    "c": 0.09725,
    "h": 262.4
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#173165
secondary
#9B7C3C
accent
#AF42E6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060D
muted
#7A7A7D

Preview Lab

Preview with #173165

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

Preview Lab → · Contrast checker → · Palette generator →

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