#173996#173996

#173996 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.158 H 264.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#173996
RGBrgb(23, 57, 150)
HSLhsl(224, 73%, 34%)
HSVhsv(224, 85%, 59%)
CMYKcmyk(84.7%, 62%, 0%, 41.2%)
CIE-LABlab(27.60, 24.80, -54.23)
CIE-LCHlch(27.60, 59.63, 294.58°)
OKLaboklab(38.51% -0.015 -0.1569)
OKLCHoklch(38.51% 0.158 264.6)
XYZxyz(7.3195, 5.3095, 29.4873)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173996 #967417
analogous
#177996 #173996 #351796
triadic
#173996 #961739 #399617
tetradic
#173996 #961779 #967417 #179635
square
#173996 #961779 #967417 #179635
split-complementary
#173996 #963517 #799617
monochromatic
#07112C #0F2561 #173996 #1F4DCB #456FE2

Accessibility & contrast

On white

10.18
#173996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173996
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173996#FFFFFF#000000##FFFFFF
##1739961.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173996;
/* rgb */ color: rgb(23, 57, 150);
/* oklch */ color: oklch(38.5% 0.158 264.6);
Tailwind
colors: {
  custom: {
    50: '#6d6eb6',
    500: '#173996',
    950: '#000000',
  },
}
SCSS
$custom: #173996;
$custom-light: #6d6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#173996",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 223.937,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.15763,
    "h": 264.6
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#173996
secondary
#C3A245
accent
#BF38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173996

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

Preview Lab → · Contrast checker → · Palette generator →

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