#1D1996#1D1996

#1D1996 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.190 H 271.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#1D1996
RGBrgb(29, 25, 150)
HSLhsl(242, 71%, 34%)
HSVhsv(242, 83%, 59%)
CMYKcmyk(80.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.67, 44.92, -65.64)
CIE-LCHlch(20.67, 79.55, 304.39°)
OKLaboklab(33.58% 0.0035 -0.19)
OKLCHoklch(33.58% 0.19 271)
XYZxyz(6.3575, 3.1578, 29.1227)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1996 #929619
analogous
#195496 #1D1996 #5C1996
triadic
#1D1996 #961D19 #19961D
tetradic
#1D1996 #961954 #929619 #19965C
square
#1D1996 #961954 #929619 #19965C
split-complementary
#1D1996 #965C19 #549619
monochromatic
#09082D #131062 #1D1996 #2722CA #4E49E1

Accessibility & contrast

On white

12.87
#1D1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1996
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1996#FFFFFF#000000##FFFFFF
##1D19961.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d1996;
/* rgb */ color: rgb(29, 25, 150);
/* oklch */ color: oklch(33.6% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#715ab6',
    500: '#1d1996',
    950: '#000000',
  },
}
SCSS
$custom: #1d1996;
$custom-light: #715ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1996",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 241.92,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.19003,
    "h": 271
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#1D1996
secondary
#BEC249
accent
#EE3AE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1996

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

Preview Lab → · Contrast checker → · Palette generator →

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