#17287B#17287B

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

Color values

HEX#17287B
RGBrgb(23, 40, 123)
HSLhsl(230, 68%, 29%)
HSVhsv(230, 81%, 48%)
CMYKcmyk(81.3%, 67.5%, 0%, 51.8%)
CIE-LABlab(20.55, 25.78, -48.92)
CIE-LCHlch(20.55, 55.29, 297.79°)
OKLaboklab(32.53% -0.0048 -0.1416)
OKLCHoklch(32.53% 0.142 268.1)
XYZxyz(4.6861, 3.1293, 19.0921)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17287B #7B6A17
analogous
#175A7B #17287B #38177B
triadic
#17287B #7B1728 #287B17
tetradic
#17287B #7B175A #7B6A17 #177B38
square
#17287B #7B175A #7B6A17 #177B38
split-complementary
#17287B #7B3817 #5A7B17
monochromatic
#05081A #0D1747 #17287B #2139AF #3350D9

Accessibility & contrast

On white

12.92
#17287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#17287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17287B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17287B#FFFFFF#000000##FFFFFF
##17287B1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17287b;
/* rgb */ color: rgb(23, 40, 123);
/* oklch */ color: oklch(32.5% 0.142 268.1);
Tailwind
colors: {
  custom: {
    50: '#6761a2',
    500: '#17287b',
    950: '#000000',
  },
}
SCSS
$custom: #17287b;
$custom-light: #6761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17287b",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 229.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32526,
    "c": 0.14166,
    "h": 268.1
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#17287B
secondary
#B09D3E
accent
#CE3CEB
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17287B

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

Preview Lab → · Contrast checker → · Palette generator →

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