#17286C#17286C

#17286C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.120 H 267.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#17286C
RGBrgb(23, 40, 108)
HSLhsl(228, 65%, 26%)
HSVhsv(228, 79%, 42%)
CMYKcmyk(78.7%, 63%, 0%, 57.6%)
CIE-LABlab(19.15, 19.74, -41.58)
CIE-LCHlch(19.15, 46.02, 295.39°)
OKLaboklab(31.05% -0.0045 -0.1201)
OKLCHoklch(31.05% 0.12 267.9)
XYZxyz(3.8180, 2.7820, 14.5202)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17286C #6C5B17
analogous
#17526C #17286C #30176C
triadic
#17286C #6C1728 #286C17
tetradic
#17286C #6C1752 #6C5B17 #176C30
square
#17286C #6C1752 #6C5B17 #176C30
split-complementary
#17286C #6C3017 #526C17
monochromatic
#050919 #0C153A #17286C #223B9E #2C4DD1

Accessibility & contrast

On white

13.49
#17286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17286C
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17286C#FFFFFF#000000##FFFFFF
##17286C1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17286c;
/* rgb */ color: rgb(23, 40, 108);
/* oklch */ color: oklch(31.1% 0.120 267.9);
Tailwind
colors: {
  custom: {
    50: '#626197',
    500: '#17286c',
    950: '#000000',
  },
}
SCSS
$custom: #17286c;
$custom-light: #626197;
$custom-dark: #000000;
JSON
{
  "hex": "#17286c",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 228,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31054,
    "c": 0.12016,
    "h": 267.9
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#17286C
secondary
#A28E3D
accent
#C640E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #17286C

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

Preview Lab → · Contrast checker → · Palette generator →

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