#17187C#17187C

#17187C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.161 H 270.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#17187C
RGBrgb(23, 24, 124)
HSLhsl(239, 69%, 29%)
HSVhsv(239, 81%, 49%)
CMYKcmyk(81.5%, 80.6%, 0%, 51.4%)
CIE-LABlab(16.94, 36.40, -55.51)
CIE-LCHlch(16.94, 66.38, 303.26°)
OKLaboklab(29.96% 0.0025 -0.1607)
OKLCHoklch(29.96% 0.161 270.9)
XYZxyz(4.3168, 2.2902, 19.2794)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17187C #7C7B17
analogous
#174B7C #17187C #49177C
triadic
#17187C #7C1718 #187C17
tetradic
#17187C #7C174B #7C7B17 #177C49
square
#17187C #7C174B #7C7B17 #177C49
split-complementary
#17187C #7C4917 #4B7C17
monochromatic
#05051A #0D0E48 #17187C #2122B0 #3436D9

Accessibility & contrast

On white

14.40
#17187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17187C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17187C#FFFFFF#000000##FFFFFF
##17187C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17187c;
/* rgb */ color: rgb(23, 24, 124);
/* oklch */ color: oklch(30.0% 0.161 270.9);
Tailwind
colors: {
  custom: {
    50: '#6957a3',
    500: '#17187c',
    950: '#000000',
  },
}
SCSS
$custom: #17187c;
$custom-light: #6957a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17187c",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 239.406,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29961,
    "c": 0.16076,
    "h": 270.9
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#17187C
secondary
#B1B03E
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17187C

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

Preview Lab → · Contrast checker → · Palette generator →

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