#173174#173174

#173174 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.120 H 264.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#173174
RGBrgb(23, 49, 116)
HSLhsl(223, 67%, 27%)
HSVhsv(223, 80%, 45%)
CMYKcmyk(80.2%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.44, 16.56, -41.37)
CIE-LCHlch(22.44, 44.56, 291.81°)
OKLaboklab(33.74% -0.0111 -0.1193)
OKLCHoklch(33.74% 0.12 264.7)
XYZxyz(4.6029, 3.6392, 16.9795)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173174 #745A17
analogous
#175F74 #173174 #2C1774
triadic
#173174 #741731 #317417
tetradic
#173174 #74175F #745A17 #17742C
square
#173174 #74175F #745A17 #17742C
split-complementary
#173174 #742C17 #5F7417
monochromatic
#050B1A #0D1B41 #173174 #2147A7 #305ED6

Accessibility & contrast

On white

12.15
#173174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173174
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173174#FFFFFF#000000##FFFFFF
##1731741.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173174;
/* rgb */ color: rgb(23, 49, 116);
/* oklch */ color: oklch(33.7% 0.120 264.7);
Tailwind
colors: {
  custom: {
    50: '#64689d',
    500: '#173174',
    950: '#000000',
  },
}
SCSS
$custom: #173174;
$custom-light: #64689d;
$custom-dark: #000000;
JSON
{
  "hex": "#173174",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 223.226,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33736,
    "c": 0.11984,
    "h": 264.7
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173174

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

Preview Lab → · Contrast checker → · Palette generator →

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