#17247B#17247B

#17247B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.147 H 269.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#17247B
RGBrgb(23, 36, 123)
HSLhsl(232, 68%, 29%)
HSVhsv(232, 81%, 48%)
CMYKcmyk(81.3%, 70.7%, 0%, 51.8%)
CIE-LABlab(19.53, 28.51, -50.60)
CIE-LCHlch(19.53, 58.08, 299.40°)
OKLaboklab(31.78% -0.0026 -0.1465)
OKLCHoklch(31.78% 0.147 269)
XYZxyz(4.5581, 2.8735, 19.0495)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17247B #7B6E17
analogous
#17567B #17247B #3C177B
triadic
#17247B #7B1724 #247B17
tetradic
#17247B #7B1756 #7B6E17 #177B3C
square
#17247B #7B1756 #7B6E17 #177B3C
split-complementary
#17247B #7B3C17 #567B17
monochromatic
#05081A #0D1547 #17247B #2133AF #3349D9

Accessibility & contrast

On white

13.34
#17247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17247B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17247B#FFFFFF#000000##FFFFFF
##17247B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17247b;
/* rgb */ color: rgb(23, 36, 123);
/* oklch */ color: oklch(31.8% 0.147 269.0);
Tailwind
colors: {
  custom: {
    50: '#675fa2',
    500: '#17247b',
    950: '#000000',
  },
}
SCSS
$custom: #17247b;
$custom-light: #675fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#17247b",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 232.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.14654,
    "h": 269
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#17247B
secondary
#B0A13E
accent
#D53CEB
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17247B

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

Preview Lab → · Contrast checker → · Palette generator →

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