#173972#173972

#173972 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.106 H 260.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#173972
RGBrgb(23, 57, 114)
HSLhsl(218, 66%, 27%)
HSVhsv(218, 80%, 45%)
CMYKcmyk(79.8%, 50%, 0%, 55.3%)
CIE-LABlab(24.71, 10.01, -36.43)
CIE-LCHlch(24.71, 37.78, 285.36°)
OKLaboklab(35.42% -0.0182 -0.1046)
OKLCHoklch(35.42% 0.106 260.1)
XYZxyz(4.8526, 4.3228, 16.4950)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173972 #725017
analogous
#176772 #173972 #221772
triadic
#173972 #721739 #397217
tetradic
#173972 #721767 #725017 #177222
square
#173972 #721767 #725017 #177222
split-complementary
#173972 #722217 #677217
monochromatic
#050D19 #0D203F #173972 #2152A5 #2E6DD5

Accessibility & contrast

On white

11.26
#173972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173972
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173972#FFFFFF#000000##FFFFFF
##1739721.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173972;
/* rgb */ color: rgb(23, 57, 114);
/* oklch */ color: oklch(35.4% 0.106 260.1);
Tailwind
colors: {
  custom: {
    50: '#636e9b',
    500: '#173972',
    950: '#000000',
  },
}
SCSS
$custom: #173972;
$custom-light: #636e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#173972",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 217.582,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35416,
    "c": 0.10618,
    "h": 260.1
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#173972
secondary
#A8803D
accent
#A93EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173972

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

Preview Lab → · Contrast checker → · Palette generator →

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