#173F80#173F80

#173F80 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.119 H 259.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#173F80
RGBrgb(23, 63, 128)
HSLhsl(217, 70%, 30%)
HSVhsv(217, 82%, 50%)
CMYKcmyk(82%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.56, 11.61, -40.68)
CIE-LCHlch(27.56, 42.30, 285.94°)
OKLaboklab(37.92% -0.021 -0.117)
OKLCHoklch(37.92% 0.119 259.8)
XYZxyz(6.0257, 5.2950, 21.1223)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F80 #805817
analogous
#177480 #173F80 #241780
triadic
#173F80 #80173F #3F8017
tetradic
#173F80 #801774 #805817 #178024
square
#173F80 #801774 #805817 #178024
split-complementary
#173F80 #802417 #748017
monochromatic
#050D1A #0E254C #173F80 #2059B4 #3675DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173F80#FFFFFF#000000##FFFFFF
##173F801.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)
#184682
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173f80;
/* rgb */ color: rgb(23, 63, 128);
/* oklch */ color: oklch(37.9% 0.119 259.8);
Tailwind
colors: {
  custom: {
    50: '#6673a5',
    500: '#173f80',
    950: '#000000',
  },
}
SCSS
$custom: #173f80;
$custom-light: #6673a5;
$custom-dark: #000000;
JSON
{
  "hex": "#173f80",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 217.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.11887,
    "h": 259.8
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#173F80
secondary
#B4873E
accent
#A93BEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #173F80

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

Preview Lab → · Contrast checker → · Palette generator →

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