#17246F#17246F

#17246F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.130 H 269.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#17246F
RGBrgb(23, 36, 111)
HSLhsl(231, 66%, 26%)
HSVhsv(231, 79%, 44%)
CMYKcmyk(79.3%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.33, 23.80, -44.87)
CIE-LCHlch(18.33, 50.79, 297.94°)
OKLaboklab(30.53% -0.0017 -0.1298)
OKLCHoklch(30.53% 0.13 269.2)
XYZxyz(3.8525, 2.5912, 15.3330)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17246F #6F6217
analogous
#17506F #17246F #36176F
triadic
#17246F #6F1724 #246F17
tetradic
#17246F #6F1750 #6F6217 #176F36
square
#17246F #6F1750 #6F6217 #176F36
split-complementary
#17246F #6F3617 #506F17
monochromatic
#050819 #0C143C #17246F #2234A2 #2D46D3

Accessibility & contrast

On white

13.83
#17246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#17246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17246F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17246F#FFFFFF#000000##FFFFFF
##17246F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17246f;
/* rgb */ color: rgb(23, 36, 111);
/* oklch */ color: oklch(30.5% 0.130 269.2);
Tailwind
colors: {
  custom: {
    50: '#645e99',
    500: '#17246f',
    950: '#000000',
  },
}
SCSS
$custom: #17246f;
$custom-light: #645e99;
$custom-dark: #000000;
JSON
{
  "hex": "#17246f",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 231.136,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30532,
    "c": 0.12978,
    "h": 269.2
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#17246F
secondary
#A5953D
accent
#D03FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17246F

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

Preview Lab → · Contrast checker → · Palette generator →

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