#1D1E96#1D1E96

#1D1E96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.186 H 270.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1D1E96
RGBrgb(29, 30, 150)
HSLhsl(240, 68%, 35%)
HSVhsv(240, 81%, 59%)
CMYKcmyk(80.7%, 80%, 0%, 41.2%)
CIE-LABlab(21.55, 42.36, -64.18)
CIE-LCHlch(21.55, 76.90, 303.42°)
OKLaboklab(34.19% 0.0021 -0.1858)
OKLCHoklch(34.19% 0.186 270.6)
XYZxyz(6.4741, 3.3910, 29.1616)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E96 #96951D
analogous
#1D5B96 #1D1E96 #581D96
triadic
#1D1E96 #961D1E #1E961D
tetradic
#1D1E96 #961D5B #96951D #1D9658
square
#1D1E96 #961D5B #96951D #1D9658
split-complementary
#1D1E96 #96581D #5B961D
monochromatic
#09092F #131463 #1D1E96 #2728C9 #5051DD

Accessibility & contrast

On white

12.51
#1D1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D1E96#FFFFFF#000000##FFFFFF
##1D1E961.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)
#003A99
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d1e96;
/* rgb */ color: rgb(29, 30, 150);
/* oklch */ color: oklch(34.2% 0.186 270.6);
Tailwind
colors: {
  custom: {
    50: '#715cb6',
    500: '#1d1e96',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e96;
$custom-light: #715cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e96",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 239.504,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.18586,
    "h": 270.6
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#1D1E96
secondary
#C0BF4F
accent
#E93DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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