#17297A#17297A

#17297A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.139 H 267.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#17297A
RGBrgb(23, 41, 122)
HSLhsl(229, 68%, 28%)
HSVhsv(229, 81%, 48%)
CMYKcmyk(81.1%, 66.4%, 0%, 52.2%)
CIE-LABlab(20.72, 24.69, -48.01)
CIE-LCHlch(20.72, 53.98, 297.21°)
OKLaboklab(32.62% -0.0054 -0.1389)
OKLCHoklch(32.62% 0.139 267.8)
XYZxyz(4.6579, 3.1726, 18.7755)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17297A #7A6817
analogous
#175A7A #17297A #36177A
triadic
#17297A #7A1729 #297A17
tetradic
#17297A #7A175A #7A6817 #177A36
square
#17297A #7A175A #7A6817 #177A36
split-complementary
#17297A #7A3617 #5A7A17
monochromatic
#05091A #0D1847 #17297A #213AAD #3351D9

Accessibility & contrast

On white

12.85
#17297A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#17297A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17297A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17297A#FFFFFF#000000##FFFFFF
##17297A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17297a;
/* rgb */ color: rgb(23, 41, 122);
/* oklch */ color: oklch(32.6% 0.139 267.8);
Tailwind
colors: {
  custom: {
    50: '#6662a1',
    500: '#17297a',
    950: '#000000',
  },
}
SCSS
$custom: #17297a;
$custom-light: #6662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17297a",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 229.091,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.139,
    "h": 267.8
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#17297A
secondary
#AF9A3E
accent
#CB3DEB
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17297A

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

Preview Lab → · Contrast checker → · Palette generator →

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