#172088#172088

#172088 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.168 H 269.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#172088
RGBrgb(23, 32, 136)
HSLhsl(235, 71%, 31%)
HSVhsv(235, 83%, 53%)
CMYKcmyk(83.1%, 76.5%, 0%, 46.7%)
CIE-LABlab(20.01, 35.94, -58.02)
CIE-LCHlch(20.01, 68.25, 301.78°)
OKLaboklab(32.55% -0.0024 -0.1681)
OKLCHoklch(32.55% 0.168 269.2)
XYZxyz(5.3123, 2.9921, 23.5853)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172088 #887F17
analogous
#175888 #172088 #461788
triadic
#172088 #881720 #208817
tetradic
#172088 #881758 #887F17 #178846
square
#172088 #881758 #887F17 #178846
split-complementary
#172088 #884617 #588817
monochromatic
#05071F #0E1454 #172088 #202CBC #3B48DE

Accessibility & contrast

On white

13.14
#172088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#172088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172088
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172088#FFFFFF#000000##FFFFFF
##1720881.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172088;
/* rgb */ color: rgb(23, 32, 136);
/* oklch */ color: oklch(32.5% 0.168 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b5cac',
    500: '#172088',
    950: '#000000',
  },
}
SCSS
$custom: #172088;
$custom-light: #6b5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#172088",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 235.221,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32547,
    "c": 0.16813,
    "h": 269.2
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#172088
secondary
#BCB23F
accent
#DF3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #172088

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

Preview Lab → · Contrast checker → · Palette generator →

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