#17256F#17256F

#17256F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.7% C 0.128 H 268.9°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#17256F
RGBrgb(23, 37, 111)
HSLhsl(230, 66%, 26%)
HSVhsv(230, 79%, 44%)
CMYKcmyk(79.3%, 66.7%, 0%, 56.5%)
CIE-LABlab(18.60, 23.09, -44.43)
CIE-LCHlch(18.60, 50.07, 297.46°)
OKLaboklab(30.73% -0.0024 -0.1285)
OKLCHoklch(30.73% 0.128 268.9)
XYZxyz(3.8832, 2.6526, 15.3432)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17256F #6F6117
analogous
#17516F #17256F #35176F
triadic
#17256F #6F1725 #256F17
tetradic
#17256F #6F1751 #6F6117 #176F35
square
#17256F #6F1751 #6F6117 #176F35
split-complementary
#17256F #6F3517 #516F17
monochromatic
#050819 #0C143C #17256F #2236A2 #2D47D3

Accessibility & contrast

On white

13.72
#17256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17256F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17256F#FFFFFF#000000##FFFFFF
##17256F1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.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: #17256f;
/* rgb */ color: rgb(23, 37, 111);
/* oklch */ color: oklch(30.7% 0.128 268.9);
Tailwind
colors: {
  custom: {
    50: '#645f99',
    500: '#17256f',
    950: '#000000',
  },
}
SCSS
$custom: #17256f;
$custom-light: #645f99;
$custom-dark: #000000;
JSON
{
  "hex": "#17256f",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 230.455,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3073,
    "c": 0.12849,
    "h": 268.9
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#17256F
secondary
#A5943D
accent
#CE3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17256F

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

Preview Lab → · Contrast checker → · Palette generator →

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