#17246C#17246C

#17246C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.125 H 269.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#17246C
RGBrgb(23, 36, 108)
HSLhsl(231, 65%, 26%)
HSVhsv(231, 79%, 42%)
CMYKcmyk(78.7%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.04, 22.60, -43.40)
CIE-LCHlch(18.04, 48.93, 297.50°)
OKLaboklab(30.23% -0.0016 -0.1254)
OKLCHoklch(30.23% 0.125 269.3)
XYZxyz(3.6901, 2.5262, 14.4776)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17246C #6C5F17
analogous
#174E6C #17246C #35176C
triadic
#17246C #6C1724 #246C17
tetradic
#17246C #6C174E #6C5F17 #176C35
square
#17246C #6C174E #6C5F17 #176C35
split-complementary
#17246C #6C3517 #4E6C17
monochromatic
#050819 #0C133A #17246C #22359E #2C46D1

Accessibility & contrast

On white

13.95
#17246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#17246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17246C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17246C#FFFFFF#000000##FFFFFF
##17246C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17246c;
/* rgb */ color: rgb(23, 36, 108);
/* oklch */ color: oklch(30.2% 0.125 269.3);
Tailwind
colors: {
  custom: {
    50: '#635e97',
    500: '#17246c',
    950: '#000000',
  },
}
SCSS
$custom: #17246c;
$custom-light: #635e97;
$custom-dark: #000000;
JSON
{
  "hex": "#17246c",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 230.824,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3023,
    "c": 0.12546,
    "h": 269.3
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#17246C
secondary
#A2933D
accent
#CE40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17246C

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

Preview Lab → · Contrast checker → · Palette generator →

#17246C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva