#17285A#17285A

#17285A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.093 H 266.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#17285A
RGBrgb(23, 40, 90)
HSLhsl(225, 59%, 22%)
HSVhsv(225, 74%, 35%)
CMYKcmyk(74.4%, 55.6%, 0%, 64.7%)
CIE-LABlab(17.63, 12.28, -32.20)
CIE-LCHlch(17.63, 34.47, 290.88°)
OKLaboklab(29.44% -0.0056 -0.0925)
OKLCHoklch(29.44% 0.093 266.6)
XYZxyz(2.9570, 2.4376, 9.9856)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17285A #5A4917
analogous
#174A5A #17285A #28175A
triadic
#17285A #5A1728 #285A17
tetradic
#17285A #5A174A #5A4917 #175A28
square
#17285A #5A174A #5A4917 #175A28
split-complementary
#17285A #5A2817 #4A5A17
monochromatic
#060B18 #0B1229 #17285A #233E8B #3053BB

Accessibility & contrast

On white

14.12
#17285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17285A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17285A#FFFFFF#000000##FFFFFF
##17285A1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092E5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17285a;
/* rgb */ color: rgb(23, 40, 90);
/* oklch */ color: oklch(29.4% 0.093 266.6);
Tailwind
colors: {
  custom: {
    50: '#5e6189',
    500: '#17285a',
    950: '#000000',
  },
}
SCSS
$custom: #17285a;
$custom-light: #5e6189;
$custom-dark: #000000;
JSON
{
  "hex": "#17285a",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 224.776,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29439,
    "c": 0.09268,
    "h": 266.6
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#17285A
secondary
#917B3C
accent
#BB45E2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #17285A

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

Preview Lab → · Contrast checker → · Palette generator →

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