#17287A#17287A

#17287A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.140 H 268.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#17287A
RGBrgb(23, 40, 122)
HSLhsl(230, 68%, 28%)
HSVhsv(230, 81%, 48%)
CMYKcmyk(81.1%, 67.2%, 0%, 52.2%)
CIE-LABlab(20.46, 25.38, -48.44)
CIE-LCHlch(20.46, 54.69, 297.65°)
OKLaboklab(32.42% -0.0048 -0.1402)
OKLCHoklch(32.42% 0.14 268.1)
XYZxyz(4.6238, 3.1044, 18.7641)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17287A #7A6917
analogous
#17597A #17287A #37177A
triadic
#17287A #7A1728 #287A17
tetradic
#17287A #7A1759 #7A6917 #177A37
square
#17287A #7A1759 #7A6917 #177A37
split-complementary
#17287A #7A3717 #597A17
monochromatic
#05081A #0D1747 #17287A #2139AD #334FD9

Accessibility & contrast

On white

12.95
#17287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#17287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17287A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17287A#FFFFFF#000000##FFFFFF
##17287A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17287a;
/* rgb */ color: rgb(23, 40, 122);
/* oklch */ color: oklch(32.4% 0.140 268.1);
Tailwind
colors: {
  custom: {
    50: '#6661a1',
    500: '#17287a',
    950: '#000000',
  },
}
SCSS
$custom: #17287a;
$custom-light: #6661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17287a",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 229.697,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.14026,
    "h": 268.1
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#17287A
secondary
#AF9C3E
accent
#CD3DEB
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17287A

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

Preview Lab → · Contrast checker → · Palette generator →

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