#173B94#173B94

#173B94 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.152 H 263.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#173B94
RGBrgb(23, 59, 148)
HSLhsl(223, 73%, 34%)
HSVhsv(223, 84%, 58%)
CMYKcmyk(84.5%, 60.1%, 0%, 42%)
CIE-LABlab(27.97, 22.62, -52.39)
CIE-LCHlch(27.97, 57.06, 293.35°)
OKLaboklab(38.73% -0.0162 -0.1515)
OKLCHoklch(38.73% 0.152 263.9)
XYZxyz(7.2607, 5.4473, 28.6800)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B94 #947017
analogous
#177994 #173B94 #311794
triadic
#173B94 #94173B #3B9417
tetradic
#173B94 #941779 #947017 #179431
square
#173B94 #941779 #947017 #179431
split-complementary
#173B94 #943117 #799417
monochromatic
#07112A #0F265F #173B94 #1F50C9 #4471E2

Accessibility & contrast

On white

10.05
#173B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#173B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B94
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B94#FFFFFF#000000##FFFFFF
##173B941.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173b94;
/* rgb */ color: rgb(23, 59, 148);
/* oklch */ color: oklch(38.7% 0.152 263.9);
Tailwind
colors: {
  custom: {
    50: '#6c70b4',
    500: '#173b94',
    950: '#000000',
  },
}
SCSS
$custom: #173b94;
$custom-light: #6c70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#173b94",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 222.72,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.15237,
    "h": 263.9
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#173B94
secondary
#C39E44
accent
#BB38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173B94

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

Preview Lab → · Contrast checker → · Palette generator →

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