#173678#173678

#173678 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.119 H 262.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#173678
RGBrgb(23, 54, 120)
HSLhsl(221, 68%, 28%)
HSVhsv(221, 81%, 47%)
CMYKcmyk(80.8%, 55%, 0%, 52.9%)
CIE-LABlab(24.25, 14.64, -40.99)
CIE-LCHlch(24.25, 43.53, 289.66°)
OKLaboklab(35.2% -0.0148 -0.1181)
OKLCHoklch(35.2% 0.119 262.9)
XYZxyz(5.0615, 4.1760, 18.3049)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173678 #785917
analogous
#176678 #173678 #291778
triadic
#173678 #781736 #367817
tetradic
#173678 #781766 #785917 #177829
square
#173678 #781766 #785917 #177829
split-complementary
#173678 #782917 #667817
monochromatic
#050C1A #0D1F45 #173678 #214DAB #3267D8

Accessibility & contrast

On white

11.44
#173678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#173678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173678
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173678#FFFFFF#000000##FFFFFF
##1736781.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173678;
/* rgb */ color: rgb(23, 54, 120);
/* oklch */ color: oklch(35.2% 0.119 262.9);
Tailwind
colors: {
  custom: {
    50: '#656c9f',
    500: '#173678',
    950: '#000000',
  },
}
SCSS
$custom: #173678;
$custom-light: #656c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173678",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 120
  },
  "hsl": {
    "h": 220.825,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35203,
    "c": 0.11903,
    "h": 262.9
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#173678
secondary
#AD8A3E
accent
#B33DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173678

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

Preview Lab → · Contrast checker → · Palette generator →

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