#173983#173983

#173983 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.131 H 263.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#173983
RGBrgb(23, 57, 131)
HSLhsl(221, 70%, 30%)
HSVhsv(221, 82%, 51%)
CMYKcmyk(82.4%, 56.5%, 0%, 48.6%)
CIE-LABlab(26.00, 17.07, -45.08)
CIE-LCHlch(26.00, 48.20, 290.74°)
OKLaboklab(36.81% -0.016 -0.13)
OKLCHoklch(36.81% 0.131 263)
XYZxyz(5.9117, 4.7464, 22.0729)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173983 #836117
analogous
#176F83 #173983 #2B1783
triadic
#173983 #831739 #398317
tetradic
#173983 #83176F #836117 #17832B
square
#173983 #83176F #836117 #17832B
split-complementary
#173983 #832B17 #6F8317
monochromatic
#050C1B #0E224F #173983 #2050B7 #386CDC

Accessibility & contrast

On white

10.77
#173983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#173983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173983
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173983#FFFFFF#000000##FFFFFF
##1739831.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173983;
/* rgb */ color: rgb(23, 57, 131);
/* oklch */ color: oklch(36.8% 0.131 263.0);
Tailwind
colors: {
  custom: {
    50: '#676ea8',
    500: '#173983',
    950: '#000000',
  },
}
SCSS
$custom: #173983;
$custom-light: #676ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#173983",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 221.111,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36808,
    "c": 0.13103,
    "h": 263
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#173983
secondary
#B7913F
accent
#B53BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173983

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

Preview Lab → · Contrast checker → · Palette generator →

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