#17256D#17256D

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

Color values

HEX#17256D
RGBrgb(23, 37, 109)
HSLhsl(230, 65%, 26%)
HSVhsv(230, 79%, 43%)
CMYKcmyk(78.9%, 66.1%, 0%, 57.3%)
CIE-LABlab(18.40, 22.29, -43.44)
CIE-LCHlch(18.40, 48.83, 297.16°)
OKLaboklab(30.53% -0.0023 -0.1256)
OKLCHoklch(30.53% 0.126 268.9)
XYZxyz(3.7743, 2.6090, 14.7697)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17256D #6D5F17
analogous
#17506D #17256D #34176D
triadic
#17256D #6D1725 #256D17
tetradic
#17256D #6D1750 #6D5F17 #176D34
square
#17256D #6D1750 #6D5F17 #176D34
split-complementary
#17256D #6D3417 #506D17
monochromatic
#050919 #0C143A #17256D #2236A0 #2C47D2

Accessibility & contrast

On white

13.80
#17256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17256D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17256D#FFFFFF#000000##FFFFFF
##17256D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17256d;
/* rgb */ color: rgb(23, 37, 109);
/* oklch */ color: oklch(30.5% 0.126 268.9);
Tailwind
colors: {
  custom: {
    50: '#635f98',
    500: '#17256d',
    950: '#000000',
  },
}
SCSS
$custom: #17256d;
$custom-light: #635f98;
$custom-dark: #000000;
JSON
{
  "hex": "#17256d",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 230.233,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30531,
    "c": 0.1256,
    "h": 268.9
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#17256D
secondary
#A3923D
accent
#CD40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17256D

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

Preview Lab → · Contrast checker → · Palette generator →

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