#17285D#17285D

#17285D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.097 H 266.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#17285D
RGBrgb(23, 40, 93)
HSLhsl(225, 60%, 23%)
HSVhsv(225, 75%, 36%)
CMYKcmyk(75.3%, 57%, 0%, 63.5%)
CIE-LABlab(17.87, 13.53, -33.81)
CIE-LCHlch(17.87, 36.42, 291.81°)
OKLaboklab(29.7% -0.0053 -0.0972)
OKLCHoklch(29.7% 0.097 266.9)
XYZxyz(3.0872, 2.4897, 10.6717)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17285D #5D4C17
analogous
#174B5D #17285D #29175D
triadic
#17285D #5D1728 #285D17
tetradic
#17285D #5D174B #5D4C17 #175D29
square
#17285D #5D174B #5D4C17 #175D29
split-complementary
#17285D #5D2917 #4B5D17
monochromatic
#060B19 #0B132C #17285D #233D8E #2F52BF

Accessibility & contrast

On white

14.02
#17285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#17285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17285D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17285D#FFFFFF#000000##FFFFFF
##17285D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042F5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17285d;
/* rgb */ color: rgb(23, 40, 93);
/* oklch */ color: oklch(29.7% 0.097 266.9);
Tailwind
colors: {
  custom: {
    50: '#5e618b',
    500: '#17285d',
    950: '#000000',
  },
}
SCSS
$custom: #17285d;
$custom-light: #5e618b;
$custom-dark: #000000;
JSON
{
  "hex": "#17285d",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 225.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29695,
    "c": 0.09739,
    "h": 266.9
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#17285D
secondary
#947E3C
accent
#BD44E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17285D

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

Preview Lab → · Contrast checker → · Palette generator →

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