#173994#173994

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

Color values

HEX#173994
RGBrgb(23, 57, 148)
HSLhsl(224, 73%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(84.5%, 61.5%, 0%, 42%)
CIE-LABlab(27.42, 24.00, -53.29)
CIE-LCHlch(27.42, 58.44, 294.24°)
OKLaboklab(38.32% -0.015 -0.1542)
OKLCHoklch(38.32% 0.155 264.4)
XYZxyz(7.1599, 5.2457, 28.6464)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173994 #947217
analogous
#177794 #173994 #331794
triadic
#173994 #941739 #399417
tetradic
#173994 #941777 #947217 #179433
square
#173994 #941777 #947217 #179433
split-complementary
#173994 #943317 #779417
monochromatic
#07102A #0F255F #173994 #1F4DC9 #446FE2

Accessibility & contrast

On white

10.25
#173994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#173994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173994
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173994#FFFFFF#000000##FFFFFF
##1739941.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173994;
/* rgb */ color: rgb(23, 57, 148);
/* oklch */ color: oklch(38.3% 0.155 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#173994',
    950: '#000000',
  },
}
SCSS
$custom: #173994;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173994",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 223.68,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.15489,
    "h": 264.4
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#173994
secondary
#C3A044
accent
#BE38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173994

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

Preview Lab → · Contrast checker → · Palette generator →

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