#17287F#17287F

#17287F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.147 H 268.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#17287F
RGBrgb(23, 40, 127)
HSLhsl(230, 69%, 29%)
HSVhsv(230, 82%, 50%)
CMYKcmyk(81.9%, 68.5%, 0%, 50.2%)
CIE-LABlab(20.95, 27.36, -50.81)
CIE-LCHlch(20.95, 57.71, 298.30°)
OKLaboklab(32.93% -0.005 -0.1471)
OKLCHoklch(32.93% 0.147 268)
XYZxyz(4.9416, 3.2315, 20.4379)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17287F #7F6E17
analogous
#175C7F #17287F #3A177F
triadic
#17287F #7F1728 #287F17
tetradic
#17287F #7F175C #7F6E17 #177F3A
square
#17287F #7F175C #7F6E17 #177F3A
split-complementary
#17287F #7F3A17 #5C7F17
monochromatic
#05081A #0E184B #17287F #2038B3 #3651DB

Accessibility & contrast

On white

12.76
#17287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#17287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17287F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17287F#FFFFFF#000000##FFFFFF
##17287F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17287f;
/* rgb */ color: rgb(23, 40, 127);
/* oklch */ color: oklch(32.9% 0.147 268.0);
Tailwind
colors: {
  custom: {
    50: '#6862a5',
    500: '#17287f',
    950: '#000000',
  },
}
SCSS
$custom: #17287f;
$custom-light: #6862a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17287f",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 230.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32935,
    "c": 0.1472,
    "h": 268
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#17287F
secondary
#B4A03E
accent
#CF3CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17287F

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

Preview Lab → · Contrast checker → · Palette generator →

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