#17257A#17257A

#17257A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.144 H 268.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#17257A
RGBrgb(23, 37, 122)
HSLhsl(232, 68%, 28%)
HSVhsv(232, 81%, 48%)
CMYKcmyk(81.1%, 69.7%, 0%, 52.2%)
CIE-LABlab(19.68, 27.45, -49.72)
CIE-LCHlch(19.68, 56.79, 298.90°)
OKLaboklab(31.86% -0.003 -0.1439)
OKLCHoklch(31.86% 0.144 268.8)
XYZxyz(4.5266, 2.9099, 18.7317)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17257A #7A6C17
analogous
#17567A #17257A #3A177A
triadic
#17257A #7A1725 #257A17
tetradic
#17257A #7A1756 #7A6C17 #177A3A
square
#17257A #7A1756 #7A6C17 #177A3A
split-complementary
#17257A #7A3A17 #567A17
monochromatic
#05081A #0D1547 #17257A #2135AD #334AD9

Accessibility & contrast

On white

13.27
#17257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#17257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17257A
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17257A#FFFFFF#000000##FFFFFF
##17257A1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17257a;
/* rgb */ color: rgb(23, 37, 122);
/* oklch */ color: oklch(31.9% 0.144 268.8);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#17257a',
    950: '#000000',
  },
}
SCSS
$custom: #17257a;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#17257a",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 231.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31856,
    "c": 0.14396,
    "h": 268.8
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#17257A
secondary
#AF9F3E
accent
#D23DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17257A

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

Preview Lab → · Contrast checker → · Palette generator →

#17257A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva