#173077#173077

#173077 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.126 H 265.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#173077
RGBrgb(23, 48, 119)
HSLhsl(224, 68%, 28%)
HSVhsv(224, 81%, 47%)
CMYKcmyk(80.7%, 59.7%, 0%, 53.3%)
CIE-LABlab(22.40, 18.51, -43.36)
CIE-LCHlch(22.40, 47.14, 293.12°)
OKLaboklab(33.78% -0.0102 -0.1252)
OKLCHoklch(33.78% 0.126 265.4)
XYZxyz(4.7389, 3.6274, 17.8996)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173077 #775E17
analogous
#176077 #173077 #2E1777
triadic
#173077 #771730 #307717
tetradic
#173077 #771760 #775E17 #17772E
square
#173077 #771760 #775E17 #17772E
split-complementary
#173077 #772E17 #607717
monochromatic
#050A1A #0D1B44 #173077 #2145AA #315CD7

Accessibility & contrast

On white

12.17
#173077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173077
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173077#FFFFFF#000000##FFFFFF
##1730771.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173077;
/* rgb */ color: rgb(23, 48, 119);
/* oklch */ color: oklch(33.8% 0.126 265.4);
Tailwind
colors: {
  custom: {
    50: '#65679f',
    500: '#173077',
    950: '#000000',
  },
}
SCSS
$custom: #173077;
$custom-light: #65679f;
$custom-dark: #000000;
JSON
{
  "hex": "#173077",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 119
  },
  "hsl": {
    "h": 224.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33784,
    "c": 0.12558,
    "h": 265.4
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#173077
secondary
#AC8F3E
accent
#BD3DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173077

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

Preview Lab → · Contrast checker → · Palette generator →

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