#17247A#17247A

#17247A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.145 H 269.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#17247A
RGBrgb(23, 36, 122)
HSLhsl(232, 68%, 28%)
HSVhsv(232, 81%, 48%)
CMYKcmyk(81.1%, 70.5%, 0%, 52.2%)
CIE-LABlab(19.43, 28.13, -50.13)
CIE-LCHlch(19.43, 57.48, 299.29°)
OKLaboklab(31.67% -0.0025 -0.1451)
OKLCHoklch(31.67% 0.145 269)
XYZxyz(4.4959, 2.8485, 18.7215)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17247A #7A6D17
analogous
#17557A #17247A #3B177A
triadic
#17247A #7A1724 #247A17
tetradic
#17247A #7A1755 #7A6D17 #177A3B
square
#17247A #7A1755 #7A6D17 #177A3B
split-complementary
#17247A #7A3B17 #557A17
monochromatic
#05081A #0D1547 #17247A #2133AD #3349D9

Accessibility & contrast

On white

13.38
#17247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17247A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17247A#FFFFFF#000000##FFFFFF
##17247A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17247a;
/* rgb */ color: rgb(23, 36, 122);
/* oklch */ color: oklch(31.7% 0.145 269.0);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#17247a',
    950: '#000000',
  },
}
SCSS
$custom: #17247a;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#17247a",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 232.121,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31672,
    "c": 0.14517,
    "h": 269
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#17247A
secondary
#AFA03E
accent
#D43DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17247A

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

Preview Lab → · Contrast checker → · Palette generator →

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