#173175#173175

#173175 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.8% C 0.121 H 264.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#173175
RGBrgb(23, 49, 117)
HSLhsl(223, 67%, 27%)
HSVhsv(223, 80%, 46%)
CMYKcmyk(80.3%, 58.1%, 0%, 54.1%)
CIE-LABlab(22.52, 16.97, -41.88)
CIE-LCHlch(22.52, 45.19, 292.06°)
OKLaboklab(33.82% -0.0111 -0.1208)
OKLCHoklch(33.82% 0.121 264.8)
XYZxyz(4.6614, 3.6626, 17.2875)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173175 #755B17
analogous
#176075 #173175 #2C1775
triadic
#173175 #751731 #317517
tetradic
#173175 #751760 #755B17 #17752C
square
#173175 #751760 #755B17 #17752C
split-complementary
#173175 #752C17 #607517
monochromatic
#050B1A #0D1C42 #173175 #2146A8 #305ED6

Accessibility & contrast

On white

12.12
#173175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173175
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173175#FFFFFF#000000##FFFFFF
##1731751.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173175;
/* rgb */ color: rgb(23, 49, 117);
/* oklch */ color: oklch(33.8% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#64689d',
    500: '#173175',
    950: '#000000',
  },
}
SCSS
$custom: #173175;
$custom-light: #64689d;
$custom-dark: #000000;
JSON
{
  "hex": "#173175",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 223.404,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.12132,
    "h": 264.8
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#173175
secondary
#AA8C3D
accent
#BA3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173175

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

Preview Lab → · Contrast checker → · Palette generator →

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