#173071#173071

#173071 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.117 H 264.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#173071
RGBrgb(23, 48, 113)
HSLhsl(223, 66%, 27%)
HSVhsv(223, 80%, 44%)
CMYKcmyk(79.6%, 57.5%, 0%, 55.7%)
CIE-LABlab(21.90, 16.03, -40.33)
CIE-LCHlch(21.90, 43.40, 291.68°)
OKLaboklab(33.25% -0.0106 -0.1163)
OKLCHoklch(33.25% 0.117 264.8)
XYZxyz(4.3899, 3.4878, 16.0614)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173071 #715817
analogous
#175D71 #173071 #2B1771
triadic
#173071 #711730 #307117
tetradic
#173071 #71175D #715817 #17712B
square
#173071 #71175D #715817 #17712B
split-complementary
#173071 #712B17 #5D7117
monochromatic
#050B19 #0D1A3E #173071 #2146A4 #2E5CD4

Accessibility & contrast

On white

12.37
#173071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#173071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173071
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173071#FFFFFF#000000##FFFFFF
##1730711.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173071;
/* rgb */ color: rgb(23, 48, 113);
/* oklch */ color: oklch(33.3% 0.117 264.8);
Tailwind
colors: {
  custom: {
    50: '#63679a',
    500: '#173071',
    950: '#000000',
  },
}
SCSS
$custom: #173071;
$custom-light: #63679a;
$custom-dark: #000000;
JSON
{
  "hex": "#173071",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 223.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.11675,
    "h": 264.8
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#173071
secondary
#A7893D
accent
#BA3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173071

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

Preview Lab → · Contrast checker → · Palette generator →

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