#172983#172983

#172983 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.151 H 267.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#172983
RGBrgb(23, 41, 131)
HSLhsl(230, 70%, 30%)
HSVhsv(230, 82%, 51%)
CMYKcmyk(82.4%, 68.7%, 0%, 48.6%)
CIE-LABlab(21.60, 28.24, -52.26)
CIE-LCHlch(21.60, 59.40, 298.39°)
OKLaboklab(33.53% -0.0058 -0.1513)
OKLCHoklch(33.53% 0.151 267.8)
XYZxyz(5.2416, 3.4061, 21.8495)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172983 #837117
analogous
#175F83 #172983 #3B1783
triadic
#172983 #831729 #298317
tetradic
#172983 #83175F #837117 #17833B
square
#172983 #83175F #837117 #17833B
split-complementary
#172983 #833B17 #5F8317
monochromatic
#05081B #0E194F #172983 #2039B7 #3854DC

Accessibility & contrast

On white

12.49
#172983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#172983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172983
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172983#FFFFFF#000000##FFFFFF
##1729831.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #172983;
/* rgb */ color: rgb(23, 41, 131);
/* oklch */ color: oklch(33.5% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#6962a8',
    500: '#172983',
    950: '#000000',
  },
}
SCSS
$custom: #172983;
$custom-light: #6962a8;
$custom-dark: #000000;
JSON
{
  "hex": "#172983",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 230,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.15145,
    "h": 267.8
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#172983
secondary
#B7A33F
accent
#CF3BED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #172983

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

Preview Lab → · Contrast checker → · Palette generator →

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