#17185A#17185A

#17185A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.115 H 274.3°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#17185A
RGBrgb(23, 24, 90)
HSLhsl(239, 59%, 22%)
HSVhsv(239, 74%, 35%)
CMYKcmyk(74.4%, 73.3%, 0%, 64.7%)
CIE-LABlab(13.07, 23.90, -39.64)
CIE-LCHlch(13.07, 46.29, 301.08°)
OKLaboklab(26.05% 0.0087 -0.1145)
OKLCHoklch(26.05% 0.115 274.3)
XYZxyz(2.5248, 1.5734, 9.8415)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17185A #5A5917
analogous
#173A5A #17185A #37175A
triadic
#17185A #5A1718 #185A17
tetradic
#17185A #5A173A #5A5917 #175A37
square
#17185A #5A173A #5A5917 #175A37
split-complementary
#17185A #5A3717 #3A5A17
monochromatic
#060618 #0B0B29 #17185A #23258B #3032BB

Accessibility & contrast

On white

15.97
#17185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#17185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17185A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17185A#FFFFFF#000000##FFFFFF
##17185A1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17185a;
/* rgb */ color: rgb(23, 24, 90);
/* oklch */ color: oklch(26.1% 0.115 274.3);
Tailwind
colors: {
  custom: {
    50: '#5f5589',
    500: '#17185a',
    950: '#000000',
  },
}
SCSS
$custom: #17185a;
$custom-light: #5f5589;
$custom-dark: #000000;
JSON
{
  "hex": "#17185a",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 239.104,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26051,
    "c": 0.11486,
    "h": 274.3
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#17185A
secondary
#91903C
accent
#E045E2
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #17185A

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

Preview Lab → · Contrast checker → · Palette generator →

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