#17246D#17246D

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

Color values

HEX#17246D
RGBrgb(23, 36, 109)
HSLhsl(231, 65%, 26%)
HSVhsv(231, 79%, 43%)
CMYKcmyk(78.9%, 67%, 0%, 57.3%)
CIE-LABlab(18.13, 23.00, -43.89)
CIE-LCHlch(18.13, 49.55, 297.65°)
OKLaboklab(30.33% -0.0016 -0.1269)
OKLCHoklch(30.33% 0.127 269.3)
XYZxyz(3.7436, 2.5476, 14.7595)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17246D #6D6017
analogous
#174F6D #17246D #35176D
triadic
#17246D #6D1724 #246D17
tetradic
#17246D #6D174F #6D6017 #176D35
square
#17246D #6D174F #6D6017 #176D35
split-complementary
#17246D #6D3517 #4F6D17
monochromatic
#050819 #0C133A #17246D #2235A0 #2C45D2

Accessibility & contrast

On white

13.91
#17246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17246D
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17246D#FFFFFF#000000##FFFFFF
##17246D1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17246d;
/* rgb */ color: rgb(23, 36, 109);
/* oklch */ color: oklch(30.3% 0.127 269.3);
Tailwind
colors: {
  custom: {
    50: '#635e98',
    500: '#17246d',
    950: '#000000',
  },
}
SCSS
$custom: #17246d;
$custom-light: #635e98;
$custom-dark: #000000;
JSON
{
  "hex": "#17246d",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 230.93,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30331,
    "c": 0.12691,
    "h": 269.3
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#17246D
secondary
#A3943D
accent
#CF40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17246D

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

Preview Lab → · Contrast checker → · Palette generator →

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