#17258D#17258D

#17258D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.169 H 268.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#17258D
RGBrgb(23, 37, 141)
HSLhsl(233, 72%, 32%)
HSVhsv(233, 84%, 55%)
CMYKcmyk(83.7%, 73.8%, 0%, 44.7%)
CIE-LABlab(21.68, 34.67, -58.39)
CIE-LCHlch(21.68, 67.91, 300.70°)
OKLaboklab(33.91% -0.0049 -0.1692)
OKLCHoklch(33.91% 0.169 268.3)
XYZxyz(5.8210, 3.4277, 25.5490)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17258D #8D7F17
analogous
#17608D #17258D #44178D
triadic
#17258D #8D1725 #258D17
tetradic
#17258D #8D1760 #8D7F17 #178D44
square
#17258D #8D1760 #8D7F17 #178D44
split-complementary
#17258D #8D4417 #608D17
monochromatic
#060924 #0E1758 #17258D #2033C2 #3F52E0

Accessibility & contrast

On white

12.46
#17258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#17258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17258D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17258D#FFFFFF#000000##FFFFFF
##17258D1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17258d;
/* rgb */ color: rgb(23, 37, 141);
/* oklch */ color: oklch(33.9% 0.169 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c60af',
    500: '#17258d',
    950: '#000000',
  },
}
SCSS
$custom: #17258d;
$custom-light: #6c60af;
$custom-dark: #000000;
JSON
{
  "hex": "#17258d",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 232.881,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.16928,
    "h": 268.3
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#17258D
secondary
#C0B140
accent
#D939EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #17258D

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

Preview Lab → · Contrast checker → · Palette generator →

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