#17248F#17248F

#17248F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.173 H 268.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#17248F
RGBrgb(23, 36, 143)
HSLhsl(234, 72%, 33%)
HSVhsv(234, 84%, 56%)
CMYKcmyk(83.9%, 74.8%, 0%, 43.9%)
CIE-LABlab(21.68, 36.03, -59.64)
CIE-LCHlch(21.68, 69.68, 301.13°)
OKLaboklab(33.97% -0.0048 -0.1728)
OKLCHoklch(33.97% 0.173 268.4)
XYZxyz(5.9404, 3.4264, 26.3295)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17248F #8F8217
analogous
#17608F #17248F #46178F
triadic
#17248F #8F1724 #248F17
tetradic
#17248F #8F1760 #8F8217 #178F46
square
#17248F #8F1760 #8F8217 #178F46
split-complementary
#17248F #8F4617 #608F17
monochromatic
#060926 #0F175A #17248F #1F31C4 #4051E0

Accessibility & contrast

On white

12.46
#17248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#17248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17248F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17248F#FFFFFF#000000##FFFFFF
##17248F1.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)
#003A92
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17248f;
/* rgb */ color: rgb(23, 36, 143);
/* oklch */ color: oklch(34.0% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d5fb1',
    500: '#17248f',
    950: '#000000',
  },
}
SCSS
$custom: #17248f;
$custom-light: #6d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#17248f",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 233.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.17291,
    "h": 268.4
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#17248F
secondary
#C1B341
accent
#DB39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #17248F

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

Preview Lab → · Contrast checker → · Palette generator →

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