#173064#173064

#173064 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.097 H 262.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#173064
RGBrgb(23, 48, 100)
HSLhsl(221, 63%, 24%)
HSVhsv(221, 77%, 39%)
CMYKcmyk(77%, 52%, 0%, 60.8%)
CIE-LABlab(20.89, 10.60, -33.55)
CIE-LCHlch(20.89, 35.18, 287.54°)
OKLaboklab(32.16% -0.0121 -0.0963)
OKLCHoklch(32.16% 0.097 262.8)
XYZxyz(3.7097, 3.2158, 12.4793)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173064 #644B17
analogous
#175764 #173064 #241764
triadic
#173064 #641730 #306417
tetradic
#173064 #641757 #644B17 #176424
square
#173064 #641757 #644B17 #176424
split-complementary
#173064 #642417 #576417
monochromatic
#060C19 #0C1832 #173064 #224896 #2E60C8

Accessibility & contrast

On white

12.78
#173064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173064
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173064#FFFFFF#000000##FFFFFF
##1730641.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133666
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173064;
/* rgb */ color: rgb(23, 48, 100);
/* oklch */ color: oklch(32.2% 0.097 262.8);
Tailwind
colors: {
  custom: {
    50: '#606790',
    500: '#173064',
    950: '#000000',
  },
}
SCSS
$custom: #173064;
$custom-light: #606790;
$custom-dark: #000000;
JSON
{
  "hex": "#173064",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 100
  },
  "hsl": {
    "h": 220.519,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3216,
    "c": 0.09708,
    "h": 262.8
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#173064
secondary
#9A7C3C
accent
#B142E6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #173064

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

Preview Lab → · Contrast checker → · Palette generator →

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