#17247C#17247C

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

Color values

HEX#17247C
RGBrgb(23, 36, 124)
HSLhsl(232, 69%, 29%)
HSVhsv(232, 81%, 49%)
CMYKcmyk(81.5%, 71%, 0%, 51.4%)
CIE-LABlab(19.63, 28.90, -51.07)
CIE-LCHlch(19.63, 58.68, 299.51°)
OKLaboklab(31.88% -0.0027 -0.1479)
OKLCHoklch(31.88% 0.148 269)
XYZxyz(4.6211, 2.8986, 19.3808)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17247C #7C6F17
analogous
#17577C #17247C #3D177C
triadic
#17247C #7C1724 #247C17
tetradic
#17247C #7C1757 #7C6F17 #177C3D
square
#17247C #7C1757 #7C6F17 #177C3D
split-complementary
#17247C #7C3D17 #577C17
monochromatic
#05071A #0D1548 #17247C #2133B0 #3449D9

Accessibility & contrast

On white

13.29
#17247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#17247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17247C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17247C#FFFFFF#000000##FFFFFF
##17247C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17247c;
/* rgb */ color: rgb(23, 36, 124);
/* oklch */ color: oklch(31.9% 0.148 269.0);
Tailwind
colors: {
  custom: {
    50: '#675fa3',
    500: '#17247c',
    950: '#000000',
  },
}
SCSS
$custom: #17247c;
$custom-light: #675fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#17247c",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 232.277,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31884,
    "c": 0.1479,
    "h": 269
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#17247C
secondary
#B1A23E
accent
#D53CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17247C

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

Preview Lab → · Contrast checker → · Palette generator →

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