#17255B#17255B

#17255B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.099 H 268.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#17255B
RGBrgb(23, 37, 91)
HSLhsl(228, 60%, 22%)
HSVhsv(228, 75%, 36%)
CMYKcmyk(74.7%, 59.3%, 0%, 64.3%)
CIE-LABlab(16.80, 14.92, -34.22)
CIE-LCHlch(16.80, 37.33, 293.55°)
OKLaboklab(28.83% -0.0025 -0.0985)
OKLCHoklch(28.83% 0.099 268.5)
XYZxyz(2.9026, 2.2603, 10.1788)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17255B #5B4D17
analogous
#17475B #17255B #2B175B
triadic
#17255B #5B1725 #255B17
tetradic
#17255B #5B1747 #5B4D17 #175B2B
square
#17255B #5B1747 #5B4D17 #175B2B
split-complementary
#17255B #5B2B17 #475B17
monochromatic
#060A18 #0B112A #17255B #23398C #304DBD

Accessibility & contrast

On white

14.46
#17255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#17255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17255B
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17255B#FFFFFF#000000##FFFFFF
##17255B1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17255b;
/* rgb */ color: rgb(23, 37, 91);
/* oklch */ color: oklch(28.8% 0.099 268.5);
Tailwind
colors: {
  custom: {
    50: '#5e5f8a',
    500: '#17255b',
    950: '#000000',
  },
}
SCSS
$custom: #17255b;
$custom-light: #5e5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#17255b",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 227.647,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28833,
    "c": 0.09853,
    "h": 268.5
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#17255B
secondary
#92803C
accent
#C245E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17255B

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

Preview Lab → · Contrast checker → · Palette generator →

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