#17246B#17246B

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

Color values

HEX#17246B
RGBrgb(23, 36, 107)
HSLhsl(231, 65%, 25%)
HSVhsv(231, 79%, 42%)
CMYKcmyk(78.5%, 66.4%, 0%, 58%)
CIE-LABlab(17.94, 22.19, -42.90)
CIE-LCHlch(17.94, 48.30, 297.35°)
OKLaboklab(30.13% -0.0015 -0.124)
OKLCHoklch(30.13% 0.124 269.3)
XYZxyz(3.6372, 2.5051, 14.1989)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17246B #6B5E17
analogous
#174E6B #17246B #34176B
triadic
#17246B #6B1724 #246B17
tetradic
#17246B #6B174E #6B5E17 #176B34
square
#17246B #6B174E #6B5E17 #176B34
split-complementary
#17246B #6B3417 #4E6B17
monochromatic
#050819 #0C1339 #17246B #22359D #2D46D0

Accessibility & contrast

On white

13.99
#17246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17246B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17246B#FFFFFF#000000##FFFFFF
##17246B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17246b;
/* rgb */ color: rgb(23, 36, 107);
/* oklch */ color: oklch(30.1% 0.124 269.3);
Tailwind
colors: {
  custom: {
    50: '#635e96',
    500: '#17246b',
    950: '#000000',
  },
}
SCSS
$custom: #17246b;
$custom-light: #635e96;
$custom-dark: #000000;
JSON
{
  "hex": "#17246b",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 230.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30131,
    "c": 0.12401,
    "h": 269.3
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17246B

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

Preview Lab → · Contrast checker → · Palette generator →

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