#173896#173896

#173896 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.159 H 264.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#173896
RGBrgb(23, 56, 150)
HSLhsl(224, 73%, 34%)
HSVhsv(224, 85%, 59%)
CMYKcmyk(84.7%, 62.7%, 0%, 41.2%)
CIE-LABlab(27.33, 25.49, -54.67)
CIE-LCHlch(27.33, 60.32, 294.99°)
OKLaboklab(38.31% -0.0144 -0.1582)
OKLCHoklch(38.31% 0.159 264.8)
XYZxyz(7.2706, 5.2116, 29.4710)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173896 #967517
analogous
#177896 #173896 #351796
triadic
#173896 #961738 #389617
tetradic
#173896 #961778 #967517 #179635
square
#173896 #961778 #967517 #179635
split-complementary
#173896 #963517 #789617
monochromatic
#07102C #0F2461 #173896 #1F4CCB #456EE2

Accessibility & contrast

On white

10.28
#173896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#173896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173896
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173896#FFFFFF#000000##FFFFFF
##1738961.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173896;
/* rgb */ color: rgb(23, 56, 150);
/* oklch */ color: oklch(38.3% 0.159 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d6eb6',
    500: '#173896',
    950: '#000000',
  },
}
SCSS
$custom: #173896;
$custom-light: #6d6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#173896",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 224.409,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.15887,
    "h": 264.8
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#173896
secondary
#C3A345
accent
#C038F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173896

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

Preview Lab → · Contrast checker → · Palette generator →

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