#17188D#17188D

#17188D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.182 H 269.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#17188D
RGBrgb(23, 24, 141)
HSLhsl(239, 72%, 32%)
HSVhsv(239, 84%, 55%)
CMYKcmyk(83.7%, 83%, 0%, 44.7%)
CIE-LABlab(19.05, 42.17, -62.75)
CIE-LCHlch(19.05, 75.60, 303.90°)
OKLaboklab(32.04% -0.0011 -0.1817)
OKLCHoklch(32.04% 0.182 269.7)
XYZxyz(5.4861, 2.7579, 25.4373)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17188D #8D8C17
analogous
#17538D #17188D #51178D
triadic
#17188D #8D1718 #188D17
tetradic
#17188D #8D1753 #8D8C17 #178D51
square
#17188D #8D1753 #8D8C17 #178D51
split-complementary
#17188D #8D5117 #538D17
monochromatic
#060624 #0E0F58 #17188D #2021C2 #3F40E0

Accessibility & contrast

On white

13.53
#17188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17188D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17188D#FFFFFF#000000##FFFFFF
##17188D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17188d;
/* rgb */ color: rgb(23, 24, 141);
/* oklch */ color: oklch(32.0% 0.182 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d58b0',
    500: '#17188d',
    950: '#000000',
  },
}
SCSS
$custom: #17188d;
$custom-light: #6d58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17188d",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 239.492,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32042,
    "c": 0.18171,
    "h": 269.7
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#17188D
secondary
#C0BF40
accent
#ED39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #17188D

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

Preview Lab → · Contrast checker → · Palette generator →

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