#173783#173783

#173783 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.134 H 263.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#173783
RGBrgb(23, 55, 131)
HSLhsl(222, 70%, 30%)
HSVhsv(222, 82%, 51%)
CMYKcmyk(82.4%, 58%, 0%, 48.6%)
CIE-LABlab(25.42, 18.48, -46.02)
CIE-LCHlch(25.42, 49.59, 291.88°)
OKLaboklab(36.37% -0.0145 -0.1329)
OKLCHoklch(36.37% 0.134 263.8)
XYZxyz(5.8148, 4.5525, 22.0406)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173783 #836317
analogous
#176D83 #173783 #2D1783
triadic
#173783 #831737 #378317
tetradic
#173783 #83176D #836317 #17832D
square
#173783 #83176D #836317 #17832D
split-complementary
#173783 #832D17 #6D8317
monochromatic
#050B1B #0E214F #173783 #204DB7 #3869DC

Accessibility & contrast

On white

10.99
#173783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173783
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173783#FFFFFF#000000##FFFFFF
##1737831.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173783;
/* rgb */ color: rgb(23, 55, 131);
/* oklch */ color: oklch(36.4% 0.134 263.8);
Tailwind
colors: {
  custom: {
    50: '#686da8',
    500: '#173783',
    950: '#000000',
  },
}
SCSS
$custom: #173783;
$custom-light: #686da8;
$custom-dark: #000000;
JSON
{
  "hex": "#173783",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 222.222,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.13365,
    "h": 263.8
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#173783
secondary
#B7933F
accent
#B83BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173783

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

Preview Lab → · Contrast checker → · Palette generator →

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