#17285B#17285B

#17285B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.094 H 266.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#17285B
RGBrgb(23, 40, 91)
HSLhsl(225, 60%, 22%)
HSVhsv(225, 75%, 36%)
CMYKcmyk(74.7%, 56%, 0%, 64.3%)
CIE-LABlab(17.71, 12.70, -32.74)
CIE-LCHlch(17.71, 35.12, 291.20°)
OKLaboklab(29.52% -0.0055 -0.0941)
OKLCHoklch(29.52% 0.094 266.7)
XYZxyz(2.9998, 2.4548, 10.2112)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17285B #5B4A17
analogous
#174A5B #17285B #28175B
triadic
#17285B #5B1728 #285B17
tetradic
#17285B #5B174A #5B4A17 #175B28
square
#17285B #5B174A #5B4A17 #175B28
split-complementary
#17285B #5B2817 #4A5B17
monochromatic
#060B18 #0B132A #17285B #233D8C #3053BD

Accessibility & contrast

On white

14.08
#17285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17285B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17285B#FFFFFF#000000##FFFFFF
##17285B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17285b;
/* rgb */ color: rgb(23, 40, 91);
/* oklch */ color: oklch(29.5% 0.094 266.7);
Tailwind
colors: {
  custom: {
    50: '#5e618a',
    500: '#17285b',
    950: '#000000',
  },
}
SCSS
$custom: #17285b;
$custom-light: #5e618a;
$custom-dark: #000000;
JSON
{
  "hex": "#17285b",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 225,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29524,
    "c": 0.09425,
    "h": 266.7
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#17285B
secondary
#927C3C
accent
#BB45E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17285B

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

Preview Lab → · Contrast checker → · Palette generator →

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