#173B95#173B95

#173B95 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.154 H 264.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#173B95
RGBrgb(23, 59, 149)
HSLhsl(223, 73%, 34%)
HSVhsv(223, 85%, 58%)
CMYKcmyk(84.6%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.06, 23.02, -52.86)
CIE-LCHlch(28.06, 57.66, 293.53°)
OKLaboklab(38.82% -0.0162 -0.1529)
OKLCHoklch(38.82% 0.154 264)
XYZxyz(7.3402, 5.4791, 29.0987)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B95 #957117
analogous
#177A95 #173B95 #321795
triadic
#173B95 #95173B #3B9517
tetradic
#173B95 #95177A #957117 #179532
square
#173B95 #95177A #957117 #179532
split-complementary
#173B95 #953217 #7A9517
monochromatic
#07112B #0F2660 #173B95 #1F50CA #4471E2

Accessibility & contrast

On white

10.02
#173B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#173B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B95
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B95#FFFFFF#000000##FFFFFF
##173B951.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173b95;
/* rgb */ color: rgb(23, 59, 149);
/* oklch */ color: oklch(38.8% 0.154 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c70b5',
    500: '#173b95',
    950: '#000000',
  },
}
SCSS
$custom: #173b95;
$custom-light: #6c70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#173b95",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 222.857,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38825,
    "c": 0.15374,
    "h": 264
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173B95

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

Preview Lab → · Contrast checker → · Palette generator →

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