#172883#172883

#172883 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.153 H 268.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#172883
RGBrgb(23, 40, 131)
HSLhsl(231, 70%, 30%)
HSVhsv(231, 82%, 51%)
CMYKcmyk(82.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.35, 28.92, -52.68)
CIE-LCHlch(21.35, 60.09, 298.76°)
OKLaboklab(33.35% -0.0053 -0.1526)
OKLCHoklch(33.35% 0.153 268)
XYZxyz(5.2075, 3.3378, 21.8381)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172883 #837217
analogous
#175E83 #172883 #3C1783
triadic
#172883 #831728 #288317
tetradic
#172883 #83175E #837217 #17833C
square
#172883 #83175E #837217 #17833C
split-complementary
#172883 #833C17 #5E8317
monochromatic
#05081B #0E184F #172883 #2038B7 #3852DC

Accessibility & contrast

On white

12.59
#172883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#172883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172883
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172883#FFFFFF#000000##FFFFFF
##1728831.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #172883;
/* rgb */ color: rgb(23, 40, 131);
/* oklch */ color: oklch(33.3% 0.153 268.0);
Tailwind
colors: {
  custom: {
    50: '#6962a8',
    500: '#172883',
    950: '#000000',
  },
}
SCSS
$custom: #172883;
$custom-light: #6962a8;
$custom-dark: #000000;
JSON
{
  "hex": "#172883",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 230.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33349,
    "c": 0.15265,
    "h": 268
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#172883
secondary
#B7A43F
accent
#D13BED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #172883

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

Preview Lab → · Contrast checker → · Palette generator →

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