#17285F#17285F

#17285F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.101 H 267.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#17285F
RGBrgb(23, 40, 95)
HSLhsl(226, 61%, 23%)
HSVhsv(226, 76%, 37%)
CMYKcmyk(75.8%, 57.9%, 0%, 62.7%)
CIE-LABlab(18.03, 14.37, -34.87)
CIE-LCHlch(18.03, 37.72, 292.39°)
OKLaboklab(29.87% -0.0051 -0.1004)
OKLCHoklch(29.87% 0.101 267.1)
XYZxyz(3.1770, 2.5256, 11.1443)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17285F #5F4E17
analogous
#174C5F #17285F #2A175F
triadic
#17285F #5F1728 #285F17
tetradic
#17285F #5F174C #5F4E17 #175F2A
square
#17285F #5F174C #5F4E17 #175F2A
split-complementary
#17285F #5F2A17 #4C5F17
monochromatic
#060A19 #0B132E #17285F #233D90 #2F51C2

Accessibility & contrast

On white

13.95
#17285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#17285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17285F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17285F#FFFFFF#000000##FFFFFF
##17285F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013061
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17285f;
/* rgb */ color: rgb(23, 40, 95);
/* oklch */ color: oklch(29.9% 0.101 267.1);
Tailwind
colors: {
  custom: {
    50: '#5f618d',
    500: '#17285f',
    950: '#000000',
  },
}
SCSS
$custom: #17285f;
$custom-light: #5f618d;
$custom-dark: #000000;
JSON
{
  "hex": "#17285f",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 225.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29869,
    "c": 0.1005,
    "h": 267.1
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#17285F
secondary
#96813C
accent
#BE44E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #17285F

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

Preview Lab → · Contrast checker → · Palette generator →

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