#173072#173072

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

Color values

HEX#173072
RGBrgb(23, 48, 114)
HSLhsl(224, 66%, 27%)
HSVhsv(224, 80%, 45%)
CMYKcmyk(79.8%, 57.9%, 0%, 55.3%)
CIE-LABlab(21.98, 16.45, -40.84)
CIE-LCHlch(21.98, 44.02, 291.93°)
OKLaboklab(33.34% -0.0105 -0.1178)
OKLCHoklch(33.34% 0.118 264.9)
XYZxyz(4.4465, 3.5105, 16.3596)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173072 #725917
analogous
#175E72 #173072 #2B1772
triadic
#173072 #721730 #307217
tetradic
#173072 #72175E #725917 #17722B
square
#173072 #72175E #725917 #17722B
split-complementary
#173072 #722B17 #5E7217
monochromatic
#050B19 #0D1B3F #173072 #2145A5 #2E5CD5

Accessibility & contrast

On white

12.34
#173072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173072
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173072#FFFFFF#000000##FFFFFF
##1730721.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173072;
/* rgb */ color: rgb(23, 48, 114);
/* oklch */ color: oklch(33.3% 0.118 264.9);
Tailwind
colors: {
  custom: {
    50: '#63679b',
    500: '#173072',
    950: '#000000',
  },
}
SCSS
$custom: #173072;
$custom-light: #63679b;
$custom-dark: #000000;
JSON
{
  "hex": "#173072",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 223.516,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.11824,
    "h": 264.9
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#173072
secondary
#A88A3D
accent
#BA3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173072

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

Preview Lab → · Contrast checker → · Palette generator →

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