#17256C#17256C

#17256C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.124 H 268.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#17256C
RGBrgb(23, 37, 108)
HSLhsl(230, 65%, 26%)
HSVhsv(230, 79%, 42%)
CMYKcmyk(78.7%, 65.7%, 0%, 57.6%)
CIE-LABlab(18.31, 21.88, -42.95)
CIE-LCHlch(18.31, 48.20, 297.00°)
OKLaboklab(30.43% -0.0023 -0.1241)
OKLCHoklch(30.43% 0.124 268.9)
XYZxyz(3.7208, 2.5876, 14.4878)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17256C #6C5E17
analogous
#174F6C #17256C #34176C
triadic
#17256C #6C1725 #256C17
tetradic
#17256C #6C174F #6C5E17 #176C34
square
#17256C #6C174F #6C5E17 #176C34
split-complementary
#17256C #6C3417 #4F6C17
monochromatic
#050919 #0C143A #17256C #22369E #2C48D1

Accessibility & contrast

On white

13.84
#17256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#17256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17256C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17256C#FFFFFF#000000##FFFFFF
##17256C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17256c;
/* rgb */ color: rgb(23, 37, 108);
/* oklch */ color: oklch(30.4% 0.124 268.9);
Tailwind
colors: {
  custom: {
    50: '#635f97',
    500: '#17256c',
    950: '#000000',
  },
}
SCSS
$custom: #17256c;
$custom-light: #635f97;
$custom-dark: #000000;
JSON
{
  "hex": "#17256c",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 230.118,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30432,
    "c": 0.12415,
    "h": 268.9
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#17256C
secondary
#A2913D
accent
#CC40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17256C

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

Preview Lab → · Contrast checker → · Palette generator →

#17256C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva