#17255C#17255C

#17255C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.100 H 268.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#17255C
RGBrgb(23, 37, 92)
HSLhsl(228, 60%, 23%)
HSVhsv(228, 75%, 36%)
CMYKcmyk(75%, 59.8%, 0%, 63.9%)
CIE-LABlab(16.88, 15.33, -34.75)
CIE-LCHlch(16.88, 37.98, 293.80°)
OKLaboklab(28.92% -0.0025 -0.1001)
OKLCHoklch(28.92% 0.1 268.6)
XYZxyz(2.9460, 2.2777, 10.4075)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17255C #5C4E17
analogous
#17485C #17255C #2B175C
triadic
#17255C #5C1725 #255C17
tetradic
#17255C #5C1748 #5C4E17 #175C2B
square
#17255C #5C1748 #5C4E17 #175C2B
split-complementary
#17255C #5C2B17 #485C17
monochromatic
#060A18 #0B112B #17255C #23398D #2F4CBE

Accessibility & contrast

On white

14.43
#17255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17255C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17255C#FFFFFF#000000##FFFFFF
##17255C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17255c;
/* rgb */ color: rgb(23, 37, 92);
/* oklch */ color: oklch(28.9% 0.100 268.6);
Tailwind
colors: {
  custom: {
    50: '#5e5f8b',
    500: '#17255c',
    950: '#000000',
  },
}
SCSS
$custom: #17255c;
$custom-light: #5e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17255c",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 227.826,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28923,
    "c": 0.10009,
    "h": 268.6
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#17255C
secondary
#93813C
accent
#C345E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17255C

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

Preview Lab → · Contrast checker → · Palette generator →

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