#17246A#17246A

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

Color values

HEX#17246A
RGBrgb(23, 36, 106)
HSLhsl(231, 64%, 25%)
HSVhsv(231, 78%, 42%)
CMYKcmyk(78.3%, 66%, 0%, 58.4%)
CIE-LABlab(17.85, 21.79, -42.40)
CIE-LCHlch(17.85, 47.68, 297.20°)
OKLaboklab(30.03% -0.0015 -0.1225)
OKLCHoklch(30.03% 0.123 269.3)
XYZxyz(3.5849, 2.4841, 13.9234)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17246A #6A5D17
analogous
#174E6A #17246A #33176A
triadic
#17246A #6A1724 #246A17
tetradic
#17246A #6A174E #6A5D17 #176A33
square
#17246A #6A174E #6A5D17 #176A33
split-complementary
#17246A #6A3317 #4E6A17
monochromatic
#050919 #0C1338 #17246A #22359C #2D46CF

Accessibility & contrast

On white

14.03
#17246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#17246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17246A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17246A#FFFFFF#000000##FFFFFF
##17246A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17246a;
/* rgb */ color: rgb(23, 36, 106);
/* oklch */ color: oklch(30.0% 0.123 269.3);
Tailwind
colors: {
  custom: {
    50: '#625e95',
    500: '#17246a',
    950: '#000000',
  },
}
SCSS
$custom: #17246a;
$custom-light: #625e95;
$custom-dark: #000000;
JSON
{
  "hex": "#17246a",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 230.602,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30032,
    "c": 0.12256,
    "h": 269.3
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#17246A
secondary
#A0913D
accent
#CD40E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17246A

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

Preview Lab → · Contrast checker → · Palette generator →

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