#173B8C#173B8C

#173B8C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.141 H 263.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#173B8C
RGBrgb(23, 59, 140)
HSLhsl(222, 72%, 32%)
HSVhsv(222, 84%, 55%)
CMYKcmyk(83.6%, 57.9%, 0%, 45.1%)
CIE-LABlab(27.30, 19.36, -48.55)
CIE-LCHlch(27.30, 52.27, 291.74°)
OKLaboklab(38.02% -0.0167 -0.1402)
OKLCHoklch(38.02% 0.141 263.2)
XYZxyz(6.6492, 5.2027, 25.4596)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B8C #8C6817
analogous
#17768C #173B8C #2D178C
triadic
#173B8C #8C173B #3B8C17
tetradic
#173B8C #8C1776 #8C6817 #178C2D
square
#173B8C #8C1776 #8C6817 #178C2D
split-complementary
#173B8C #8C2D17 #768C17
monochromatic
#060F23 #0E2557 #173B8C #2051C1 #3E70DF

Accessibility & contrast

On white

10.29
#173B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#173B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B8C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B8C#FFFFFF#000000##FFFFFF
##173B8C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173b8c;
/* rgb */ color: rgb(23, 59, 140);
/* oklch */ color: oklch(38.0% 0.141 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a70ae',
    500: '#173b8c',
    950: '#000000',
  },
}
SCSS
$custom: #173b8c;
$custom-light: #6a70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#173b8c",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 140
  },
  "hsl": {
    "h": 221.538,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38023,
    "c": 0.14122,
    "h": 263.2
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#173B8C
secondary
#BF983F
accent
#B739EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #173B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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