#17188C#17188C

#17188C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.181 H 269.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#17188C
RGBrgb(23, 24, 140)
HSLhsl(239, 72%, 32%)
HSVhsv(239, 84%, 55%)
CMYKcmyk(83.6%, 82.9%, 0%, 45.1%)
CIE-LABlab(18.92, 41.84, -62.34)
CIE-LCHlch(18.92, 75.08, 303.87°)
OKLaboklab(31.92% -0.0009 -0.1805)
OKLCHoklch(31.92% 0.181 269.7)
XYZxyz(5.4120, 2.7282, 25.0472)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17188C #8C8B17
analogous
#17538C #17188C #51178C
triadic
#17188C #8C1718 #188C17
tetradic
#17188C #8C1753 #8C8B17 #178C51
square
#17188C #8C1753 #8C8B17 #178C51
split-complementary
#17188C #8C5117 #538C17
monochromatic
#060623 #0E0F57 #17188C #2021C1 #3E3FDF

Accessibility & contrast

On white

13.59
#17188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#17188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17188C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17188C#FFFFFF#000000##FFFFFF
##17188C1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17188c;
/* rgb */ color: rgb(23, 24, 140);
/* oklch */ color: oklch(31.9% 0.181 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d58af',
    500: '#17188c',
    950: '#000000',
  },
}
SCSS
$custom: #17188c;
$custom-light: #6d58af;
$custom-dark: #000000;
JSON
{
  "hex": "#17188c",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 239.487,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31918,
    "c": 0.18051,
    "h": 269.7
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#17188C
secondary
#BFBE3F
accent
#ED39EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #17188C

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

Preview Lab → · Contrast checker → · Palette generator →

#17188C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva