#17298E#17298E

#17298E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.166 H 267.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#17298E
RGBrgb(23, 41, 142)
HSLhsl(231, 72%, 32%)
HSVhsv(231, 84%, 56%)
CMYKcmyk(83.8%, 71.1%, 0%, 44.3%)
CIE-LABlab(22.72, 32.47, -57.29)
CIE-LCHlch(22.72, 65.85, 299.54°)
OKLaboklab(34.69% -0.0067 -0.166)
OKLCHoklch(34.69% 0.166 267.7)
XYZxyz(6.0271, 3.7203, 25.9864)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17298E #8E7C17
analogous
#17658E #17298E #40178E
triadic
#17298E #8E1729 #298E17
tetradic
#17298E #8E1765 #8E7C17 #178E40
square
#17298E #8E1765 #8E7C17 #178E40
split-complementary
#17298E #8E4017 #658E17
monochromatic
#060B25 #0E1A59 #17298E #2038C3 #3F58E0

Accessibility & contrast

On white

12.04
#17298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#17298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17298E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17298E#FFFFFF#000000##FFFFFF
##17298E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #17298e;
/* rgb */ color: rgb(23, 41, 142);
/* oklch */ color: oklch(34.7% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c63b0',
    500: '#17298e',
    950: '#000000',
  },
}
SCSS
$custom: #17298e;
$custom-light: #6c63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17298e",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 230.924,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.16615,
    "h": 267.7
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#17298E
secondary
#C0AD40
accent
#D339EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #17298E

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

Preview Lab → · Contrast checker → · Palette generator →

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