#172683#172683

#172683 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.155 H 268.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#172683
RGBrgb(23, 38, 131)
HSLhsl(232, 70%, 30%)
HSVhsv(232, 82%, 51%)
CMYKcmyk(82.4%, 71%, 0%, 48.6%)
CIE-LABlab(20.85, 30.25, -53.49)
CIE-LCHlch(20.85, 61.46, 299.49°)
OKLaboklab(32.99% -0.0043 -0.1549)
OKLCHoklch(32.99% 0.155 268.4)
XYZxyz(5.1418, 3.2065, 21.8162)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172683 #837417
analogous
#175C83 #172683 #3E1783
triadic
#172683 #831726 #268317
tetradic
#172683 #83175C #837417 #17833E
square
#172683 #83175C #837417 #17833E
split-complementary
#172683 #833E17 #5C8317
monochromatic
#05081B #0E174F #172683 #2035B7 #384FDC

Accessibility & contrast

On white

12.79
#172683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#172683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172683
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172683#FFFFFF#000000##FFFFFF
##1726831.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172683;
/* rgb */ color: rgb(23, 38, 131);
/* oklch */ color: oklch(33.0% 0.155 268.4);
Tailwind
colors: {
  custom: {
    50: '#6960a8',
    500: '#172683',
    950: '#000000',
  },
}
SCSS
$custom: #172683;
$custom-light: #6960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#172683",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 231.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32988,
    "c": 0.15501,
    "h": 268.4
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#172683
secondary
#B7A63F
accent
#D43BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #172683

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

Preview Lab → · Contrast checker → · Palette generator →

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