#17246E#17246E

#17246E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.128 H 269.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#17246E
RGBrgb(23, 36, 110)
HSLhsl(231, 65%, 26%)
HSVhsv(231, 79%, 43%)
CMYKcmyk(79.1%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.23, 23.40, -44.38)
CIE-LCHlch(18.23, 50.17, 297.80°)
OKLaboklab(30.43% -0.0016 -0.1283)
OKLCHoklch(30.43% 0.128 269.3)
XYZxyz(3.7977, 2.5693, 15.0446)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17246E #6E6117
analogous
#174F6E #17246E #35176E
triadic
#17246E #6E1724 #246E17
tetradic
#17246E #6E174F #6E6117 #176E35
square
#17246E #6E174F #6E6117 #176E35
split-complementary
#17246E #6E3517 #4F6E17
monochromatic
#050819 #0C133B #17246E #2235A1 #2C45D3

Accessibility & contrast

On white

13.87
#17246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17246E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17246E#FFFFFF#000000##FFFFFF
##17246E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17246e;
/* rgb */ color: rgb(23, 36, 110);
/* oklch */ color: oklch(30.4% 0.128 269.3);
Tailwind
colors: {
  custom: {
    50: '#635e98',
    500: '#17246e',
    950: '#000000',
  },
}
SCSS
$custom: #17246e;
$custom-light: #635e98;
$custom-dark: #000000;
JSON
{
  "hex": "#17246e",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 231.034,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30431,
    "c": 0.12835,
    "h": 269.3
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#17246E
secondary
#A4943D
accent
#CF3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17246E

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

Preview Lab → · Contrast checker → · Palette generator →

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