#17255F#17255F

#17255F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.105 H 268.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#17255F
RGBrgb(23, 37, 95)
HSLhsl(228, 61%, 23%)
HSVhsv(228, 76%, 37%)
CMYKcmyk(75.8%, 61.1%, 0%, 62.7%)
CIE-LABlab(17.14, 16.57, -36.33)
CIE-LCHlch(17.14, 39.93, 294.52°)
OKLaboklab(29.2% -0.0023 -0.1047)
OKLCHoklch(29.2% 0.105 268.7)
XYZxyz(3.0798, 2.3312, 11.1119)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17255F #5F5117
analogous
#17495F #17255F #2D175F
triadic
#17255F #5F1725 #255F17
tetradic
#17255F #5F1749 #5F5117 #175F2D
square
#17255F #5F1749 #5F5117 #175F2D
split-complementary
#17255F #5F2D17 #495F17
monochromatic
#060A19 #0B122E #17255F #233890 #2F4BC2

Accessibility & contrast

On white

14.32
#17255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17255F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17255F#FFFFFF#000000##FFFFFF
##17255F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17255f;
/* rgb */ color: rgb(23, 37, 95);
/* oklch */ color: oklch(29.2% 0.105 268.7);
Tailwind
colors: {
  custom: {
    50: '#5f5f8d',
    500: '#17255f',
    950: '#000000',
  },
}
SCSS
$custom: #17255f;
$custom-light: #5f5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17255f",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 228.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29195,
    "c": 0.10473,
    "h": 268.7
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#17255F
secondary
#96843C
accent
#C544E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17255F

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

Preview Lab → · Contrast checker → · Palette generator →

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