#173880#173880

#173880 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.128 H 263.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#173880
RGBrgb(23, 56, 128)
HSLhsl(221, 70%, 30%)
HSVhsv(221, 82%, 50%)
CMYKcmyk(82%, 56.3%, 0%, 49.8%)
CIE-LABlab(25.47, 16.54, -44.06)
CIE-LCHlch(25.47, 47.06, 290.57°)
OKLaboklab(36.33% -0.0155 -0.1271)
OKLCHoklch(36.33% 0.128 263)
XYZxyz(5.6624, 4.5684, 21.0012)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173880 #805F17
analogous
#176D80 #173880 #2B1780
triadic
#173880 #801738 #388017
tetradic
#173880 #80176D #805F17 #17802B
square
#173880 #80176D #805F17 #17802B
split-complementary
#173880 #802B17 #6D8017
monochromatic
#050B1A #0E214C #173880 #204FB4 #366ADB

Accessibility & contrast

On white

10.97
#173880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173880
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173880#FFFFFF#000000##FFFFFF
##1738801.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173880;
/* rgb */ color: rgb(23, 56, 128);
/* oklch */ color: oklch(36.3% 0.128 263.0);
Tailwind
colors: {
  custom: {
    50: '#676ea5',
    500: '#173880',
    950: '#000000',
  },
}
SCSS
$custom: #173880;
$custom-light: #676ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#173880",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 128
  },
  "hsl": {
    "h": 221.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3633,
    "c": 0.12803,
    "h": 263
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#173880
secondary
#B48F3E
accent
#B53BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173880

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

Preview Lab → · Contrast checker → · Palette generator →

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