#173479#173479

#173479 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.123 H 263.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#173479
RGBrgb(23, 52, 121)
HSLhsl(222, 68%, 28%)
HSVhsv(222, 81%, 47%)
CMYKcmyk(81%, 57%, 0%, 52.5%)
CIE-LABlab(23.73, 16.48, -42.46)
CIE-LCHlch(23.73, 45.55, 291.22°)
OKLaboklab(34.84% -0.0131 -0.1225)
OKLCHoklch(34.84% 0.123 263.9)
XYZxyz(5.0313, 4.0180, 18.5958)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173479 #795C17
analogous
#176579 #173479 #2B1779
triadic
#173479 #791734 #347917
tetradic
#173479 #791765 #795C17 #17792B
square
#173479 #791765 #795C17 #17792B
split-complementary
#173479 #792B17 #657917
monochromatic
#050B1A #0D1E46 #173479 #214AAC #3263D8

Accessibility & contrast

On white

11.64
#173479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173479
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173479#FFFFFF#000000##FFFFFF
##1734791.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173479;
/* rgb */ color: rgb(23, 52, 121);
/* oklch */ color: oklch(34.8% 0.123 263.9);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#173479',
    950: '#000000',
  },
}
SCSS
$custom: #173479;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#173479",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 222.245,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34839,
    "c": 0.12317,
    "h": 263.9
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#173479
secondary
#AE8D3E
accent
#B73DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173479

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

Preview Lab → · Contrast checker → · Palette generator →

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