#17255D#17255D

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

Color values

HEX#17255D
RGBrgb(23, 37, 93)
HSLhsl(228, 60%, 23%)
HSVhsv(228, 75%, 36%)
CMYKcmyk(75.3%, 60.2%, 0%, 63.5%)
CIE-LABlab(16.97, 15.74, -35.28)
CIE-LCHlch(16.97, 38.63, 294.05°)
OKLaboklab(29.01% -0.0024 -0.1016)
OKLCHoklch(29.01% 0.102 268.6)
XYZxyz(2.9900, 2.2953, 10.6393)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17255D #5D4F17
analogous
#17485D #17255D #2C175D
triadic
#17255D #5D1725 #255D17
tetradic
#17255D #5D1748 #5D4F17 #175D2C
square
#17255D #5D1748 #5D4F17 #175D2C
split-complementary
#17255D #5D2C17 #485D17
monochromatic
#060A19 #0B112C #17255D #23398E #2F4CBF

Accessibility & contrast

On white

14.39
#17255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17255D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17255D#FFFFFF#000000##FFFFFF
##17255D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17255d;
/* rgb */ color: rgb(23, 37, 93);
/* oklch */ color: oklch(29.0% 0.102 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f5f8b',
    500: '#17255d',
    950: '#000000',
  },
}
SCSS
$custom: #17255d;
$custom-light: #5f5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17255d",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 228,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29013,
    "c": 0.10164,
    "h": 268.6
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17255D

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

Preview Lab → · Contrast checker → · Palette generator →

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