#17185D#17185D

#17185D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.119 H 274.0°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#17185D
RGBrgb(23, 24, 93)
HSLhsl(239, 60%, 23%)
HSVhsv(239, 75%, 36%)
CMYKcmyk(75.3%, 74.2%, 0%, 63.5%)
CIE-LABlab(13.38, 25.05, -41.13)
CIE-LCHlch(13.38, 48.16, 301.35°)
OKLaboklab(26.38% 0.0082 -0.1189)
OKLCHoklch(26.38% 0.119 274)
XYZxyz(2.6551, 1.6255, 10.5276)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17185D #5D5C17
analogous
#173B5D #17185D #39175D
triadic
#17185D #5D1718 #185D17
tetradic
#17185D #5D173B #5D5C17 #175D39
square
#17185D #5D173B #5D5C17 #175D39
split-complementary
#17185D #5D3917 #3B5D17
monochromatic
#060619 #0B0B2C #17185D #23258E #2F31BF

Accessibility & contrast

On white

15.85
#17185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17185D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17185D#FFFFFF#000000##FFFFFF
##17185D1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17185d;
/* rgb */ color: rgb(23, 24, 93);
/* oklch */ color: oklch(26.4% 0.119 274.0);
Tailwind
colors: {
  custom: {
    50: '#60558c',
    500: '#17185d',
    950: '#000000',
  },
}
SCSS
$custom: #17185d;
$custom-light: #60558c;
$custom-dark: #000000;
JSON
{
  "hex": "#17185d",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 239.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26376,
    "c": 0.11918,
    "h": 274
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#17185D
secondary
#94933C
accent
#E144E3
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17185D

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

Preview Lab → · Contrast checker → · Palette generator →

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