#17188A#17188A

#17188A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.178 H 269.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#17188A
RGBrgb(23, 24, 138)
HSLhsl(239, 71%, 32%)
HSVhsv(239, 83%, 54%)
CMYKcmyk(83.3%, 82.6%, 0%, 45.9%)
CIE-LABlab(18.67, 41.17, -61.50)
CIE-LCHlch(18.67, 74.01, 303.80°)
OKLaboklab(31.67% -0.0005 -0.1781)
OKLCHoklch(31.67% 0.178 269.9)
XYZxyz(5.2659, 2.6698, 24.2776)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17188A #8A8917
analogous
#17528A #17188A #50178A
triadic
#17188A #8A1718 #188A17
tetradic
#17188A #8A1752 #8A8917 #178A50
square
#17188A #8A1752 #8A8917 #178A50
split-complementary
#17188A #8A5017 #528A17
monochromatic
#060621 #0E0F56 #17188A #2021BE #3D3EDF

Accessibility & contrast

On white

13.69
#17188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17188A
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17188A#FFFFFF#000000##FFFFFF
##17188A1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002788
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17188a;
/* rgb */ color: rgb(23, 24, 138);
/* oklch */ color: oklch(31.7% 0.178 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d58ad',
    500: '#17188a',
    950: '#000000',
  },
}
SCSS
$custom: #17188a;
$custom-light: #6d58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17188a",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 239.478,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.17809,
    "h": 269.9
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#17188A
secondary
#BEBD3F
accent
#ED3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #17188A

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

Preview Lab → · Contrast checker → · Palette generator →

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