#17285C#17285C

#17285C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.096 H 266.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#17285C
RGBrgb(23, 40, 92)
HSLhsl(225, 60%, 23%)
HSVhsv(225, 75%, 36%)
CMYKcmyk(75%, 56.5%, 0%, 63.9%)
CIE-LABlab(17.79, 13.11, -33.28)
CIE-LCHlch(17.79, 35.77, 291.51°)
OKLaboklab(29.61% -0.0054 -0.0957)
OKLCHoklch(29.61% 0.096 266.8)
XYZxyz(3.0432, 2.4721, 10.4399)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17285C #5C4B17
analogous
#174B5C #17285C #28175C
triadic
#17285C #5C1728 #285C17
tetradic
#17285C #5C174B #5C4B17 #175C28
square
#17285C #5C174B #5C4B17 #175C28
split-complementary
#17285C #5C2817 #4B5C17
monochromatic
#060B18 #0B132B #17285C #233D8D #2F53BE

Accessibility & contrast

On white

14.05
#17285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#17285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17285C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17285C#FFFFFF#000000##FFFFFF
##17285C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062F5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17285c;
/* rgb */ color: rgb(23, 40, 92);
/* oklch */ color: oklch(29.6% 0.096 266.8);
Tailwind
colors: {
  custom: {
    50: '#5e618b',
    500: '#17285c',
    950: '#000000',
  },
}
SCSS
$custom: #17285c;
$custom-light: #5e618b;
$custom-dark: #000000;
JSON
{
  "hex": "#17285c",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 225.217,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29609,
    "c": 0.09582,
    "h": 266.8
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#17285C
secondary
#937D3C
accent
#BC45E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17285C

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

Preview Lab → · Contrast checker → · Palette generator →

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