#17256B#17256B

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

Color values

HEX#17256B
RGBrgb(23, 37, 107)
HSLhsl(230, 65%, 25%)
HSVhsv(230, 79%, 42%)
CMYKcmyk(78.5%, 65.4%, 0%, 58%)
CIE-LABlab(18.22, 21.48, -42.45)
CIE-LCHlch(18.22, 47.58, 296.84°)
OKLaboklab(30.33% -0.0022 -0.1227)
OKLCHoklch(30.33% 0.123 268.9)
XYZxyz(3.6678, 2.5664, 14.2091)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17256B #6B5D17
analogous
#174F6B #17256B #33176B
triadic
#17256B #6B1725 #256B17
tetradic
#17256B #6B174F #6B5D17 #176B33
square
#17256B #6B174F #6B5D17 #176B33
split-complementary
#17256B #6B3317 #4F6B17
monochromatic
#050919 #0C1439 #17256B #22369D #2D48D0

Accessibility & contrast

On white

13.88
#17256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17256B
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17256B#FFFFFF#000000##FFFFFF
##17256B1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17256b;
/* rgb */ color: rgb(23, 37, 107);
/* oklch */ color: oklch(30.3% 0.123 268.9);
Tailwind
colors: {
  custom: {
    50: '#635f96',
    500: '#17256b',
    950: '#000000',
  },
}
SCSS
$custom: #17256b;
$custom-light: #635f96;
$custom-dark: #000000;
JSON
{
  "hex": "#17256b",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 230,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30334,
    "c": 0.12269,
    "h": 268.9
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17256B

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

Preview Lab → · Contrast checker → · Palette generator →

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