#173E94#173E94

#173E94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.149 H 263.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#173E94
RGBrgb(23, 62, 148)
HSLhsl(221, 73%, 34%)
HSVhsv(221, 84%, 58%)
CMYKcmyk(84.5%, 58.1%, 0%, 42%)
CIE-LABlab(28.81, 20.54, -51.02)
CIE-LCHlch(28.81, 55.00, 291.93°)
OKLaboklab(39.36% -0.0181 -0.1474)
OKLCHoklch(39.36% 0.149 263)
XYZxyz(7.4194, 5.7646, 28.7329)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E94 #946D17
analogous
#177C94 #173E94 #2E1794
triadic
#173E94 #94173E #3E9417
tetradic
#173E94 #94177C #946D17 #17942E
square
#173E94 #94177C #946D17 #17942E
split-complementary
#173E94 #942E17 #7C9417
monochromatic
#07122A #0F285F #173E94 #1F54C9 #4475E2

Accessibility & contrast

On white

9.75
#173E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#173E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E94
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E94#FFFFFF#000000##FFFFFF
##173E941.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #173e94;
/* rgb */ color: rgb(23, 62, 148);
/* oklch */ color: oklch(39.4% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#6c72b4',
    500: '#173e94',
    950: '#000000',
  },
}
SCSS
$custom: #173e94;
$custom-light: #6c72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#173e94",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 221.28,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.14855,
    "h": 263
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#173E94
secondary
#C39B44
accent
#B638F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #173E94

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

Preview Lab → · Contrast checker → · Palette generator →

#173E94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva