#17287E#17287E

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

Color values

HEX#17287E
RGBrgb(23, 40, 126)
HSLhsl(230, 69%, 29%)
HSVhsv(230, 82%, 49%)
CMYKcmyk(81.7%, 68.3%, 0%, 50.6%)
CIE-LABlab(20.85, 26.96, -50.34)
CIE-LCHlch(20.85, 57.11, 298.18°)
OKLaboklab(32.83% -0.005 -0.1457)
OKLCHoklch(32.83% 0.146 268)
XYZxyz(4.8767, 3.2055, 20.0963)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17287E #7E6D17
analogous
#175C7E #17287E #3A177E
triadic
#17287E #7E1728 #287E17
tetradic
#17287E #7E175C #7E6D17 #177E3A
square
#17287E #7E175C #7E6D17 #177E3A
split-complementary
#17287E #7E3A17 #5C7E17
monochromatic
#05081A #0E184A #17287E #2038B2 #3550DA

Accessibility & contrast

On white

12.80
#17287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#17287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17287E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17287E#FFFFFF#000000##FFFFFF
##17287E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17287e;
/* rgb */ color: rgb(23, 40, 126);
/* oklch */ color: oklch(32.8% 0.146 268.0);
Tailwind
colors: {
  custom: {
    50: '#6862a4',
    500: '#17287e',
    950: '#000000',
  },
}
SCSS
$custom: #17287e;
$custom-light: #6862a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17287e",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 230.097,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32832,
    "c": 0.14582,
    "h": 268
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17287E

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

Preview Lab → · Contrast checker → · Palette generator →

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