#173879#173879

#173879 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.118 H 262.1°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#173879
RGBrgb(23, 56, 121)
HSLhsl(220, 68%, 28%)
HSVhsv(220, 81%, 47%)
CMYKcmyk(81%, 53.7%, 0%, 52.5%)
CIE-LABlab(24.92, 13.64, -40.53)
CIE-LCHlch(24.92, 42.76, 288.59°)
OKLaboklab(35.74% -0.0163 -0.1167)
OKLCHoklch(35.74% 0.118 262.1)
XYZxyz(5.2175, 4.3904, 18.6579)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173879 #795817
analogous
#176979 #173879 #271779
triadic
#173879 #791738 #387917
tetradic
#173879 #791769 #795817 #177927
square
#173879 #791769 #795817 #177927
split-complementary
#173879 #792717 #697917
monochromatic
#050C1A #0D2046 #173879 #2150AC #326AD8

Accessibility & contrast

On white

11.18
#173879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#173879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173879
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173879#FFFFFF#000000##FFFFFF
##1738791.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173879;
/* rgb */ color: rgb(23, 56, 121);
/* oklch */ color: oklch(35.7% 0.118 262.1);
Tailwind
colors: {
  custom: {
    50: '#656ea0',
    500: '#173879',
    950: '#000000',
  },
}
SCSS
$custom: #173879;
$custom-light: #656ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#173879",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 219.796,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.11784,
    "h": 262.1
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#173879
secondary
#AE883E
accent
#B03DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173879

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

Preview Lab → · Contrast checker → · Palette generator →

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