#172583#172583

#172583 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.156 H 268.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#172583
RGBrgb(23, 37, 131)
HSLhsl(232, 70%, 30%)
HSVhsv(232, 82%, 51%)
CMYKcmyk(82.4%, 71.8%, 0%, 48.6%)
CIE-LABlab(20.61, 30.91, -53.89)
CIE-LCHlch(20.61, 62.13, 299.84°)
OKLaboklab(32.81% -0.0038 -0.1561)
OKLCHoklch(32.81% 0.156 268.6)
XYZxyz(5.1102, 3.1434, 21.8057)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172583 #837517
analogous
#175B83 #172583 #3F1783
triadic
#172583 #831725 #258317
tetradic
#172583 #83175B #837517 #17833F
square
#172583 #83175B #837517 #17833F
split-complementary
#172583 #833F17 #5B8317
monochromatic
#05081B #0E164F #172583 #2034B7 #384EDC

Accessibility & contrast

On white

12.89
#172583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172583
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172583#FFFFFF#000000##FFFFFF
##1725831.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172583;
/* rgb */ color: rgb(23, 37, 131);
/* oklch */ color: oklch(32.8% 0.156 268.6);
Tailwind
colors: {
  custom: {
    50: '#6960a8',
    500: '#172583',
    950: '#000000',
  },
}
SCSS
$custom: #172583;
$custom-light: #6960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#172583",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 232.222,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.15617,
    "h": 268.6
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#172583
secondary
#B7A83F
accent
#D63BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #172583

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

Preview Lab → · Contrast checker → · Palette generator →

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