#173985#173985

#173985 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.134 H 263.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#173985
RGBrgb(23, 57, 133)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 52%)
CMYKcmyk(82.7%, 57.1%, 0%, 47.8%)
CIE-LABlab(26.16, 17.90, -46.06)
CIE-LCHlch(26.16, 49.42, 291.23°)
OKLaboklab(36.98% -0.0158 -0.133)
OKLCHoklch(36.98% 0.134 263.2)
XYZxyz(6.0486, 4.8011, 22.7937)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173985 #856317
analogous
#177085 #173985 #2C1785
triadic
#173985 #851739 #398517
tetradic
#173985 #851770 #856317 #17852C
square
#173985 #851770 #856317 #17852C
split-complementary
#173985 #852C17 #708517
monochromatic
#050C1D #0E2351 #173985 #204FB9 #3A6CDD

Accessibility & contrast

On white

10.71
#173985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173985
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173985#FFFFFF#000000##FFFFFF
##1739851.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173985;
/* rgb */ color: rgb(23, 57, 133);
/* oklch */ color: oklch(37.0% 0.134 263.2);
Tailwind
colors: {
  custom: {
    50: '#686ea9',
    500: '#173985',
    950: '#000000',
  },
}
SCSS
$custom: #173985;
$custom-light: #686ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#173985",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 221.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.1339,
    "h": 263.2
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#173985
secondary
#B9933F
accent
#B63BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173985

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

Preview Lab → · Contrast checker → · Palette generator →

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