#173F83#173F83

#173F83 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.2% C 0.123 H 260.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#173F83
RGBrgb(23, 63, 131)
HSLhsl(218, 70%, 30%)
HSVhsv(218, 82%, 51%)
CMYKcmyk(82.4%, 51.9%, 0%, 48.6%)
CIE-LABlab(27.78, 12.86, -42.20)
CIE-LCHlch(27.78, 44.11, 286.95°)
OKLaboklab(38.16% -0.0206 -0.1215)
OKLCHoklch(38.16% 0.123 260.4)
XYZxyz(6.2261, 5.3751, 22.1777)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F83 #835B17
analogous
#177583 #173F83 #251783
triadic
#173F83 #83173F #3F8317
tetradic
#173F83 #831775 #835B17 #178325
square
#173F83 #831775 #835B17 #178325
split-complementary
#173F83 #832517 #758317
monochromatic
#050D1B #0E264F #173F83 #2058B7 #3875DC

Accessibility & contrast

On white

10.12
#173F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#173F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F83
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F83#FFFFFF#000000##FFFFFF
##173F831.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144785
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173f83;
/* rgb */ color: rgb(23, 63, 131);
/* oklch */ color: oklch(38.2% 0.123 260.4);
Tailwind
colors: {
  custom: {
    50: '#6773a8',
    500: '#173f83',
    950: '#000000',
  },
}
SCSS
$custom: #173f83;
$custom-light: #6773a8;
$custom-dark: #000000;
JSON
{
  "hex": "#173f83",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 217.778,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.12319,
    "h": 260.4
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#173F83
secondary
#B78B3F
accent
#AB3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #173F83

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

Preview Lab → · Contrast checker → · Palette generator →

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