#173079#173079

#173079 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.128 H 265.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#173079
RGBrgb(23, 48, 121)
HSLhsl(225, 68%, 28%)
HSVhsv(225, 81%, 47%)
CMYKcmyk(81%, 60.3%, 0%, 52.5%)
CIE-LABlab(22.57, 19.34, -44.35)
CIE-LCHlch(22.57, 48.38, 293.56°)
OKLaboklab(33.97% -0.0101 -0.1281)
OKLCHoklch(33.97% 0.128 265.5)
XYZxyz(4.8603, 3.6760, 18.5388)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173079 #796017
analogous
#176179 #173079 #2F1779
triadic
#173079 #791730 #307917
tetradic
#173079 #791761 #796017 #17792F
square
#173079 #791761 #796017 #17792F
split-complementary
#173079 #792F17 #617917
monochromatic
#050A1A #0D1C46 #173079 #2144AC #325DD8

Accessibility & contrast

On white

12.10
#173079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173079
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173079#FFFFFF#000000##FFFFFF
##1730791.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173079;
/* rgb */ color: rgb(23, 48, 121);
/* oklch */ color: oklch(34.0% 0.128 265.5);
Tailwind
colors: {
  custom: {
    50: '#6567a0',
    500: '#173079',
    950: '#000000',
  },
}
SCSS
$custom: #173079;
$custom-light: #6567a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173079",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 224.694,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33965,
    "c": 0.12849,
    "h": 265.5
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#173079
secondary
#AE913E
accent
#BF3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #173079

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

Preview Lab → · Contrast checker → · Palette generator →

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