#17247F#17247F

#17247F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.152 H 268.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#17247F
RGBrgb(23, 36, 127)
HSLhsl(233, 69%, 29%)
HSVhsv(233, 82%, 50%)
CMYKcmyk(81.9%, 71.7%, 0%, 50.2%)
CIE-LABlab(19.95, 30.05, -52.46)
CIE-LCHlch(19.95, 60.45, 299.81°)
OKLaboklab(32.21% -0.0029 -0.1519)
OKLCHoklch(32.21% 0.152 268.9)
XYZxyz(4.8137, 2.9757, 20.3952)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17247F #7F7217
analogous
#17587F #17247F #3E177F
triadic
#17247F #7F1724 #247F17
tetradic
#17247F #7F1758 #7F7217 #177F3E
square
#17247F #7F1758 #7F7217 #177F3E
split-complementary
#17247F #7F3E17 #587F17
monochromatic
#05071A #0E154B #17247F #2033B3 #364ADB

Accessibility & contrast

On white

13.16
#17247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#17247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17247F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17247F#FFFFFF#000000##FFFFFF
##17247F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17247f;
/* rgb */ color: rgb(23, 36, 127);
/* oklch */ color: oklch(32.2% 0.152 268.9);
Tailwind
colors: {
  custom: {
    50: '#685fa5',
    500: '#17247f',
    950: '#000000',
  },
}
SCSS
$custom: #17247f;
$custom-light: #685fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#17247f",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 232.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32206,
    "c": 0.15196,
    "h": 268.9
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17247F

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

Preview Lab → · Contrast checker → · Palette generator →

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