#173475#173475

#173475 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.117 H 263.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#173475
RGBrgb(23, 52, 117)
HSLhsl(221, 67%, 27%)
HSVhsv(221, 80%, 46%)
CMYKcmyk(80.3%, 55.6%, 0%, 54.1%)
CIE-LABlab(23.41, 14.82, -40.44)
CIE-LCHlch(23.41, 43.07, 290.13°)
OKLaboklab(34.5% -0.0135 -0.1165)
OKLCHoklch(34.5% 0.117 263.4)
XYZxyz(4.7911, 3.9219, 17.3307)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173475 #755817
analogous
#176375 #173475 #291775
triadic
#173475 #751734 #347517
tetradic
#173475 #751763 #755817 #177529
square
#173475 #751763 #755817 #177529
split-complementary
#173475 #752917 #637517
monochromatic
#050B1A #0D1D42 #173475 #214BA8 #3063D6

Accessibility & contrast

On white

11.77
#173475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173475
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173475#FFFFFF#000000##FFFFFF
##1734751.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033C77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173475;
/* rgb */ color: rgb(23, 52, 117);
/* oklch */ color: oklch(34.5% 0.117 263.4);
Tailwind
colors: {
  custom: {
    50: '#646a9d',
    500: '#173475',
    950: '#000000',
  },
}
SCSS
$custom: #173475;
$custom-light: #646a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#173475",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 117
  },
  "hsl": {
    "h": 221.489,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.11729,
    "h": 263.4
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#173475
secondary
#AA893D
accent
#B53EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173475

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

Preview Lab → · Contrast checker → · Palette generator →

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