#17185C#17185C

#17185C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.3% C 0.118 H 274.1°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#17185C
RGBrgb(23, 24, 92)
HSLhsl(239, 60%, 23%)
HSVhsv(239, 75%, 36%)
CMYKcmyk(75%, 73.9%, 0%, 63.9%)
CIE-LABlab(13.28, 24.67, -40.64)
CIE-LCHlch(13.28, 47.54, 301.26°)
OKLaboklab(26.27% 0.0084 -0.1174)
OKLCHoklch(26.27% 0.118 274.1)
XYZxyz(2.6111, 1.6079, 10.2959)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17185C #5C5B17
analogous
#173B5C #17185C #38175C
triadic
#17185C #5C1718 #185C17
tetradic
#17185C #5C173B #5C5B17 #175C38
square
#17185C #5C173B #5C5B17 #175C38
split-complementary
#17185C #5C3817 #3B5C17
monochromatic
#060618 #0B0B2B #17185C #23258D #2F32BE

Accessibility & contrast

On white

15.89
#17185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#17185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17185C
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17185C#FFFFFF#000000##FFFFFF
##17185C1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17185c;
/* rgb */ color: rgb(23, 24, 92);
/* oklch */ color: oklch(26.3% 0.118 274.1);
Tailwind
colors: {
  custom: {
    50: '#60558b',
    500: '#17185c',
    950: '#000000',
  },
}
SCSS
$custom: #17185c;
$custom-light: #60558b;
$custom-dark: #000000;
JSON
{
  "hex": "#17185c",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 239.13,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26267,
    "c": 0.11774,
    "h": 274.1
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#17185C
secondary
#93923C
accent
#E145E3
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17185C

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

Preview Lab → · Contrast checker → · Palette generator →

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