#1917A0#1917A0

#1917A0 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.4% C 0.204 H 269.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1917A0
RGBrgb(25, 23, 160)
HSLhsl(241, 75%, 36%)
HSVhsv(241, 86%, 63%)
CMYKcmyk(84.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.42, 48.79, -70.54)
CIE-LCHlch(21.42, 85.77, 304.67°)
OKLaboklab(34.4% -0.0029 -0.2042)
OKLCHoklch(34.4% 0.204 269.2)
XYZxyz(7.0503, 3.3567, 33.5272)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1917A0 #9EA017
analogous
#1759A0 #1917A0 #5D17A0
triadic
#1917A0 #A01917 #17A019
tetradic
#1917A0 #A01759 #9EA017 #17A05D
square
#1917A0 #A01759 #9EA017 #17A05D
split-complementary
#1917A0 #A05D17 #59A017
monochromatic
#080835 #110F6A #1917A0 #211FD6 #4E4CE5

Accessibility & contrast

On white

12.56
#1917A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1917A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1917A0
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1917A0#FFFFFF#000000##FFFFFF
##1917A01.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002C9E
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1917a0;
/* rgb */ color: rgb(25, 23, 160);
/* oklch */ color: oklch(34.4% 0.204 269.2);
Tailwind
colors: {
  custom: {
    50: '#7359be',
    500: '#1917a0',
    950: '#000000',
  },
}
SCSS
$custom: #1917a0;
$custom-light: #7359be;
$custom-dark: #000000;
JSON
{
  "hex": "#1917a0",
  "rgb": {
    "r": 25,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 240.876,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34404,
    "c": 0.20419,
    "h": 269.2
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#1917A0
secondary
#C5C74C
accent
#F136EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1917A0

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

Preview Lab → · Contrast checker → · Palette generator →

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