#17185B#17185B

#17185B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.116 H 274.2°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#17185B
RGBrgb(23, 24, 91)
HSLhsl(239, 60%, 22%)
HSVhsv(239, 75%, 36%)
CMYKcmyk(74.7%, 73.6%, 0%, 64.3%)
CIE-LABlab(13.17, 24.29, -40.14)
CIE-LCHlch(13.17, 46.91, 301.17°)
OKLaboklab(26.16% 0.0085 -0.116)
OKLCHoklch(26.16% 0.116 274.2)
XYZxyz(2.5677, 1.5905, 10.0672)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17185B #5B5A17
analogous
#173A5B #17185B #38175B
triadic
#17185B #5B1718 #185B17
tetradic
#17185B #5B173A #5B5A17 #175B38
square
#17185B #5B173A #5B5A17 #175B38
split-complementary
#17185B #5B3817 #3A5B17
monochromatic
#060618 #0B0B2A #17185B #23258C #3032BD

Accessibility & contrast

On white

15.93
#17185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17185B
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17185B#FFFFFF#000000##FFFFFF
##17185B1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17185b;
/* rgb */ color: rgb(23, 24, 91);
/* oklch */ color: oklch(26.2% 0.116 274.2);
Tailwind
colors: {
  custom: {
    50: '#5f558a',
    500: '#17185b',
    950: '#000000',
  },
}
SCSS
$custom: #17185b;
$custom-light: #5f558a;
$custom-dark: #000000;
JSON
{
  "hex": "#17185b",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 239.118,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26159,
    "c": 0.1163,
    "h": 274.2
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#17185B
secondary
#92913C
accent
#E045E3
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17185B

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

Preview Lab → · Contrast checker → · Palette generator →

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