#173980#173980

#173980 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.127 H 262.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#173980
RGBrgb(23, 57, 128)
HSLhsl(221, 70%, 30%)
HSVhsv(221, 82%, 50%)
CMYKcmyk(82%, 55.5%, 0%, 49.8%)
CIE-LABlab(25.76, 15.83, -43.58)
CIE-LCHlch(25.76, 46.37, 289.96°)
OKLaboklab(36.55% -0.0163 -0.1257)
OKLCHoklch(36.55% 0.127 262.6)
XYZxyz(5.7114, 4.6663, 21.0176)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173980 #805E17
analogous
#176E80 #173980 #291780
triadic
#173980 #801739 #398017
tetradic
#173980 #80176E #805E17 #178029
square
#173980 #80176E #805E17 #178029
split-complementary
#173980 #802917 #6E8017
monochromatic
#050C1A #0E224C #173980 #2050B4 #366CDB

Accessibility & contrast

On white

10.86
#173980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173980
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173980#FFFFFF#000000##FFFFFF
##1739801.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004282
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173980;
/* rgb */ color: rgb(23, 57, 128);
/* oklch */ color: oklch(36.6% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#676ea5',
    500: '#173980',
    950: '#000000',
  },
}
SCSS
$custom: #173980;
$custom-light: #676ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#173980",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 220.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.12671,
    "h": 262.6
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#173980
secondary
#B48E3E
accent
#B33BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173980

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

Preview Lab → · Contrast checker → · Palette generator →

#173980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva