#17185F#17185F

#17185F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.6% C 0.122 H 273.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#17185F
RGBrgb(23, 24, 95)
HSLhsl(239, 61%, 23%)
HSVhsv(239, 76%, 37%)
CMYKcmyk(75.8%, 74.7%, 0%, 62.7%)
CIE-LABlab(13.60, 25.82, -42.12)
CIE-LCHlch(13.60, 49.40, 301.51°)
OKLaboklab(26.6% 0.0079 -0.1218)
OKLCHoklch(26.6% 0.122 273.7)
XYZxyz(2.7449, 1.6614, 11.0003)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17185F #5F5E17
analogous
#173C5F #17185F #3A175F
triadic
#17185F #5F1718 #185F17
tetradic
#17185F #5F173C #5F5E17 #175F3A
square
#17185F #5F173C #5F5E17 #175F3A
split-complementary
#17185F #5F3A17 #3C5F17
monochromatic
#060619 #0B0C2E #17185F #232490 #2F31C2

Accessibility & contrast

On white

15.76
#17185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#17185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17185F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17185F#FFFFFF#000000##FFFFFF
##17185F1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17185f;
/* rgb */ color: rgb(23, 24, 95);
/* oklch */ color: oklch(26.6% 0.122 273.7);
Tailwind
colors: {
  custom: {
    50: '#61558d',
    500: '#17185f',
    950: '#000000',
  },
}
SCSS
$custom: #17185f;
$custom-light: #61558d;
$custom-dark: #000000;
JSON
{
  "hex": "#17185f",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 239.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26596,
    "c": 0.12202,
    "h": 273.7
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#17185F
secondary
#96943C
accent
#E244E4
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17185F

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

Preview Lab → · Contrast checker → · Palette generator →

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