#17298F#17298F

#17298F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.167 H 267.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#17298F
RGBrgb(23, 41, 143)
HSLhsl(231, 72%, 33%)
HSVhsv(231, 84%, 56%)
CMYKcmyk(83.9%, 71.3%, 0%, 43.9%)
CIE-LABlab(22.83, 32.85, -57.74)
CIE-LCHlch(22.83, 66.43, 299.63°)
OKLaboklab(34.8% -0.0067 -0.1673)
OKLCHoklch(34.8% 0.167 267.7)
XYZxyz(6.1025, 3.7505, 26.3836)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17298F #8F7D17
analogous
#17658F #17298F #41178F
triadic
#17298F #8F1729 #298F17
tetradic
#17298F #8F1765 #8F7D17 #178F41
square
#17298F #8F1765 #8F7D17 #178F41
split-complementary
#17298F #8F4117 #658F17
monochromatic
#060B26 #0F1A5A #17298F #1F38C4 #4058E0

Accessibility & contrast

On white

12.00
#17298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#17298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17298F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17298F#FFFFFF#000000##FFFFFF
##17298F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #17298f;
/* rgb */ color: rgb(23, 41, 143);
/* oklch */ color: oklch(34.8% 0.167 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c63b1',
    500: '#17298f',
    950: '#000000',
  },
}
SCSS
$custom: #17298f;
$custom-light: #6c63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17298f",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 231,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34797,
    "c": 0.16746,
    "h": 267.7
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#17298F
secondary
#C1AE41
accent
#D439EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #17298F

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

Preview Lab → · Contrast checker → · Palette generator →

#17298F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva