#173176#173176

#173176 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.9% C 0.123 H 264.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#173176
RGBrgb(23, 49, 118)
HSLhsl(224, 67%, 28%)
HSVhsv(224, 81%, 46%)
CMYKcmyk(80.5%, 58.5%, 0%, 53.7%)
CIE-LABlab(22.61, 17.38, -42.38)
CIE-LCHlch(22.61, 45.81, 292.30°)
OKLaboklab(33.91% -0.011 -0.1223)
OKLCHoklch(33.91% 0.123 264.9)
XYZxyz(4.7205, 3.6863, 17.5988)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173176 #765C17
analogous
#176076 #173176 #2C1776
triadic
#173176 #761731 #317617
tetradic
#173176 #761760 #765C17 #17762C
square
#173176 #761760 #765C17 #17762C
split-complementary
#173176 #762C17 #607617
monochromatic
#050B1A #0D1C43 #173176 #2146A9 #315ED7

Accessibility & contrast

On white

12.09
#173176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173176
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173176#FFFFFF#000000##FFFFFF
##1731761.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173176;
/* rgb */ color: rgb(23, 49, 118);
/* oklch */ color: oklch(33.9% 0.123 264.9);
Tailwind
colors: {
  custom: {
    50: '#64689e',
    500: '#173176',
    950: '#000000',
  },
}
SCSS
$custom: #173176;
$custom-light: #64689e;
$custom-dark: #000000;
JSON
{
  "hex": "#173176",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 223.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33913,
    "c": 0.12278,
    "h": 264.9
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#173176
secondary
#AB8D3E
accent
#BB3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173176

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

Preview Lab → · Contrast checker → · Palette generator →

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