#17297D#17297D

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

Color values

HEX#17297D
RGBrgb(23, 41, 125)
HSLhsl(229, 69%, 29%)
HSVhsv(229, 82%, 49%)
CMYKcmyk(81.6%, 67.2%, 0%, 51%)
CIE-LABlab(21.01, 25.88, -49.44)
CIE-LCHlch(21.01, 55.80, 297.63°)
OKLaboklab(32.92% -0.0055 -0.1431)
OKLCHoklch(32.92% 0.143 267.8)
XYZxyz(4.8467, 3.2481, 19.7696)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17297D #7D6B17
analogous
#175C7D #17297D #38177D
triadic
#17297D #7D1729 #297D17
tetradic
#17297D #7D175C #7D6B17 #177D38
square
#17297D #7D175C #7D6B17 #177D38
split-complementary
#17297D #7D3817 #5C7D17
monochromatic
#05081A #0D1849 #17297D #213AB1 #3552DA

Accessibility & contrast

On white

12.73
#17297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#17297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17297D
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17297D#FFFFFF#000000##FFFFFF
##17297D1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17297d;
/* rgb */ color: rgb(23, 41, 125);
/* oklch */ color: oklch(32.9% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#6762a4',
    500: '#17297d',
    950: '#000000',
  },
}
SCSS
$custom: #17297d;
$custom-light: #6762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17297d",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 229.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.1432,
    "h": 267.8
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#17297D
secondary
#B29D3E
accent
#CD3CEC
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #17297D

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

Preview Lab → · Contrast checker → · Palette generator →

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