#17247E#17247E

#17247E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.151 H 268.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#17247E
RGBrgb(23, 36, 126)
HSLhsl(232, 69%, 29%)
HSVhsv(232, 82%, 49%)
CMYKcmyk(81.7%, 71.4%, 0%, 50.6%)
CIE-LABlab(19.84, 29.67, -52.00)
CIE-LCHlch(19.84, 59.86, 299.71°)
OKLaboklab(32.1% -0.0028 -0.1506)
OKLCHoklch(32.1% 0.151 268.9)
XYZxyz(4.7488, 2.9497, 20.0537)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17247E #7E7117
analogous
#17587E #17247E #3E177E
triadic
#17247E #7E1724 #247E17
tetradic
#17247E #7E1758 #7E7117 #177E3E
square
#17247E #7E1758 #7E7117 #177E3E
split-complementary
#17247E #7E3E17 #587E17
monochromatic
#05071A #0E154A #17247E #2033B2 #354ADA

Accessibility & contrast

On white

13.21
#17247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#17247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17247E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17247E#FFFFFF#000000##FFFFFF
##17247E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17247e;
/* rgb */ color: rgb(23, 36, 126);
/* oklch */ color: oklch(32.1% 0.151 268.9);
Tailwind
colors: {
  custom: {
    50: '#685fa4',
    500: '#17247e',
    950: '#000000',
  },
}
SCSS
$custom: #17247e;
$custom-light: #685fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#17247e",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 232.427,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32098,
    "c": 0.15062,
    "h": 268.9
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#17247E
secondary
#B3A43E
accent
#D63CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17247E

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

Preview Lab → · Contrast checker → · Palette generator →

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