#1A17A0#1A17A0

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

Color values

HEX#1A17A0
RGBrgb(26, 23, 160)
HSLhsl(241, 75%, 36%)
HSVhsv(241, 86%, 63%)
CMYKcmyk(83.8%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.47, 48.84, -70.46)
CIE-LCHlch(21.47, 85.73, 304.73°)
OKLaboklab(34.45% -0.0018 -0.2039)
OKLCHoklch(34.45% 0.204 269.5)
XYZxyz(7.0754, 3.3696, 33.5284)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A17A0 #9DA017
analogous
#1758A0 #1A17A0 #5E17A0
triadic
#1A17A0 #A01A17 #17A01A
tetradic
#1A17A0 #A01758 #9DA017 #17A05E
square
#1A17A0 #A01758 #9DA017 #17A05E
split-complementary
#1A17A0 #A05E17 #58A017
monochromatic
#090835 #110F6A #1A17A0 #231FD6 #4F4CE5

Accessibility & contrast

On white

12.54
#1A17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A17A0
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A17A0#FFFFFF#000000##FFFFFF
##1A17A01.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.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: #1a17a0;
/* rgb */ color: rgb(26, 23, 160);
/* oklch */ color: oklch(34.4% 0.204 269.5);
Tailwind
colors: {
  custom: {
    50: '#7359be',
    500: '#1a17a0',
    950: '#000000',
  },
}
SCSS
$custom: #1a17a0;
$custom-light: #7359be;
$custom-dark: #000000;
JSON
{
  "hex": "#1a17a0",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 241.314,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.20393,
    "h": 269.5
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#1A17A0
secondary
#C4C74C
accent
#F136ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A17A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1A17A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva