#173B8F#173B8F

#173B8F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.145 H 263.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#173B8F
RGBrgb(23, 59, 143)
HSLhsl(222, 72%, 33%)
HSVhsv(222, 84%, 56%)
CMYKcmyk(83.9%, 58.7%, 0%, 43.9%)
CIE-LABlab(27.55, 20.59, -50.00)
CIE-LCHlch(27.55, 54.07, 292.38°)
OKLaboklab(38.29% -0.0165 -0.1445)
OKLCHoklch(38.29% 0.145 263.5)
XYZxyz(6.8735, 5.2924, 26.6405)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B8F #8F6B17
analogous
#17778F #173B8F #2F178F
triadic
#173B8F #8F173B #3B8F17
tetradic
#173B8F #8F1777 #8F6B17 #178F2F
square
#173B8F #8F1777 #8F6B17 #178F2F
split-complementary
#173B8F #8F2F17 #778F17
monochromatic
#060F26 #0F255A #173B8F #1F51C4 #4070E0

Accessibility & contrast

On white

10.20
#173B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B8F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B8F#FFFFFF#000000##FFFFFF
##173B8F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173b8f;
/* rgb */ color: rgb(23, 59, 143);
/* oklch */ color: oklch(38.3% 0.145 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b70b1',
    500: '#173b8f',
    950: '#000000',
  },
}
SCSS
$custom: #173b8f;
$custom-light: #6b70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173b8f",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 222,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.14543,
    "h": 263.5
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#173B8F
secondary
#C19A41
accent
#B839EF
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #173B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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