#17188F#17188F

#17188F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.184 H 269.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#17188F
RGBrgb(23, 24, 143)
HSLhsl(240, 72%, 33%)
HSVhsv(240, 84%, 56%)
CMYKcmyk(83.9%, 83.2%, 0%, 43.9%)
CIE-LABlab(19.30, 42.83, -63.58)
CIE-LCHlch(19.30, 76.66, 303.96°)
OKLaboklab(32.29% -0.0015 -0.1841)
OKLCHoklch(32.29% 0.184 269.5)
XYZxyz(5.6362, 2.8179, 26.2281)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17188F #8F8E17
analogous
#17548F #17188F #52178F
triadic
#17188F #8F1718 #188F17
tetradic
#17188F #8F1754 #8F8E17 #178F52
square
#17188F #8F1754 #8F8E17 #178F52
split-complementary
#17188F #8F5217 #548F17
monochromatic
#060626 #0F0F5A #17188F #1F21C4 #4041E0

Accessibility & contrast

On white

13.43
#17188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17188F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17188F#FFFFFF#000000##FFFFFF
##17188F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17188f;
/* rgb */ color: rgb(23, 24, 143);
/* oklch */ color: oklch(32.3% 0.184 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e58b1',
    500: '#17188f',
    950: '#000000',
  },
}
SCSS
$custom: #17188f;
$custom-light: #6e58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17188f",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 239.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.18411,
    "h": 269.5
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17188F

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

Preview Lab → · Contrast checker → · Palette generator →

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