#1917A1#1917A1

#1917A1 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.205 H 269.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1917A1
RGBrgb(25, 23, 161)
HSLhsl(241, 75%, 36%)
HSVhsv(241, 86%, 63%)
CMYKcmyk(84.5%, 85.7%, 0%, 36.9%)
CIE-LABlab(21.55, 49.10, -70.93)
CIE-LCHlch(21.55, 86.27, 304.69°)
OKLaboklab(34.53% -0.0031 -0.2053)
OKLCHoklch(34.53% 0.205 269.1)
XYZxyz(7.1381, 3.3918, 33.9898)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1917A1 #9FA117
analogous
#175AA1 #1917A1 #5E17A1
triadic
#1917A1 #A11917 #17A119
tetradic
#1917A1 #A1175A #9FA117 #17A15E
square
#1917A1 #A1175A #9FA117 #17A15E
split-complementary
#1917A1 #A15E17 #5AA117
monochromatic
#080836 #110F6B #1917A1 #211FD7 #4F4DE6

Accessibility & contrast

On white

12.51
#1917A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1917A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1917A1
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1917A1#FFFFFF#000000##FFFFFF
##1917A11.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002C9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1917a1;
/* rgb */ color: rgb(25, 23, 161);
/* oklch */ color: oklch(34.5% 0.205 269.1);
Tailwind
colors: {
  custom: {
    50: '#7359be',
    500: '#1917a1',
    950: '#000000',
  },
}
SCSS
$custom: #1917a1;
$custom-light: #7359be;
$custom-dark: #000000;
JSON
{
  "hex": "#1917a1",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 240.87,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.20532,
    "h": 269.1
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#1917A1
secondary
#C6C74C
accent
#F236EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1917A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1917A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva