#17256A#17256A

#17256A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.121 H 268.9°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#17256A
RGBrgb(23, 37, 106)
HSLhsl(230, 64%, 25%)
HSVhsv(230, 78%, 42%)
CMYKcmyk(78.3%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.12, 21.07, -41.95)
CIE-LCHlch(18.12, 46.95, 296.67°)
OKLaboklab(30.24% -0.0022 -0.1212)
OKLCHoklch(30.24% 0.121 268.9)
XYZxyz(3.6155, 2.5455, 13.9337)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17256A #6A5C17
analogous
#174E6A #17256A #33176A
triadic
#17256A #6A1725 #256A17
tetradic
#17256A #6A174E #6A5C17 #176A33
square
#17256A #6A174E #6A5C17 #176A33
split-complementary
#17256A #6A3317 #4E6A17
monochromatic
#050919 #0C1338 #17256A #22379C #2D48CF

Accessibility & contrast

On white

13.91
#17256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#17256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17256A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17256A#FFFFFF#000000##FFFFFF
##17256A1.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)
#00306C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17256a;
/* rgb */ color: rgb(23, 37, 106);
/* oklch */ color: oklch(30.2% 0.121 268.9);
Tailwind
colors: {
  custom: {
    50: '#625f95',
    500: '#17256a',
    950: '#000000',
  },
}
SCSS
$custom: #17256a;
$custom-light: #625f95;
$custom-dark: #000000;
JSON
{
  "hex": "#17256a",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 229.88,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30236,
    "c": 0.12123,
    "h": 268.9
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#17256A
secondary
#A08F3D
accent
#CB40E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17256A

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

Preview Lab → · Contrast checker → · Palette generator →

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