#1D1AA1#1D1AA1

#1D1AA1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.0% C 0.202 H 270.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1D1AA1
RGBrgb(29, 26, 161)
HSLhsl(241, 72%, 37%)
HSVhsv(241, 84%, 63%)
CMYKcmyk(82%, 83.9%, 0%, 36.9%)
CIE-LABlab(22.20, 47.93, -69.84)
CIE-LCHlch(22.20, 84.70, 304.46°)
OKLaboklab(35.04% 0.0007 -0.2021)
OKLCHoklch(35.04% 0.202 270.2)
XYZxyz(7.3069, 3.5724, 34.0157)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1AA1 #9EA11A
analogous
#1A5BA1 #1D1AA1 #611AA1
triadic
#1D1AA1 #A11D1A #1AA11D
tetradic
#1D1AA1 #A11A5B #9EA11A #1AA161
square
#1D1AA1 #A11A5B #9EA11A #1AA161
split-complementary
#1D1AA1 #A1611A #5BA11A
monochromatic
#0A0938 #14116C #1D1AA1 #2623D6 #5652E3

Accessibility & contrast

On white

12.25
#1D1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1AA1
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1AA1#FFFFFF#000000##FFFFFF
##1D1AA11.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d1aa1;
/* rgb */ color: rgb(29, 26, 161);
/* oklch */ color: oklch(35.0% 0.202 270.2);
Tailwind
colors: {
  custom: {
    50: '#745bbe',
    500: '#1d1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1d1aa1;
$custom-light: #745bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1aa1",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 241.333,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35037,
    "c": 0.20215,
    "h": 270.2
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#1D1AA1
secondary
#C3C651
accent
#EF39EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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