#173594#173594

#173594 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.160 H 265.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#173594
RGBrgb(23, 53, 148)
HSLhsl(226, 73%, 34%)
HSVhsv(226, 84%, 58%)
CMYKcmyk(84.5%, 64.2%, 0%, 42%)
CIE-LABlab(26.35, 26.75, -55.05)
CIE-LCHlch(26.35, 61.20, 295.91°)
OKLaboklab(37.52% -0.0128 -0.1594)
OKLCHoklch(37.52% 0.16 265.4)
XYZxyz(6.9699, 4.8656, 28.5830)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173594 #947617
analogous
#177394 #173594 #371794
triadic
#173594 #941735 #359417
tetradic
#173594 #941773 #947617 #179437
square
#173594 #941773 #947617 #179437
split-complementary
#173594 #943717 #739417
monochromatic
#070F2A #0F225F #173594 #1F48C9 #446AE2

Accessibility & contrast

On white

10.64
#173594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#173594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173594
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173594#FFFFFF#000000##FFFFFF
##1735941.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173594;
/* rgb */ color: rgb(23, 53, 148);
/* oklch */ color: oklch(37.5% 0.160 265.4);
Tailwind
colors: {
  custom: {
    50: '#6c6cb4',
    500: '#173594',
    950: '#000000',
  },
}
SCSS
$custom: #173594;
$custom-light: #6c6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173594",
  "rgb": {
    "r": 23,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 225.6,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37524,
    "c": 0.15988,
    "h": 265.4
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#173594
secondary
#C3A444
accent
#C438F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173594

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

Preview Lab → · Contrast checker → · Palette generator →

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