#1D1D96#1D1D96

#1D1D96 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.187 H 270.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1D1D96
RGBrgb(29, 29, 150)
HSLhsl(240, 68%, 35%)
HSVhsv(240, 81%, 59%)
CMYKcmyk(80.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(21.36, 42.89, -64.49)
CIE-LCHlch(21.36, 77.45, 303.63°)
OKLaboklab(34.06% 0.0024 -0.1867)
OKLCHoklch(34.06% 0.187 270.7)
XYZxyz(6.4492, 3.3412, 29.1533)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D96 #96961D
analogous
#1D5996 #1D1D96 #591D96
triadic
#1D1D96 #961D1D #1D961D
tetradic
#1D1D96 #961D59 #96961D #1D9659
square
#1D1D96 #961D59 #96961D #1D9659
split-complementary
#1D1D96 #96591D #59961D
monochromatic
#09092F #131363 #1D1D96 #2727C9 #5050DD

Accessibility & contrast

On white

12.59
#1D1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1D96
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D96#FFFFFF#000000##FFFFFF
##1D1D961.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d1d96;
/* rgb */ color: rgb(29, 29, 150);
/* oklch */ color: oklch(34.1% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#715cb6',
    500: '#1d1d96',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d96;
$custom-light: #715cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d96",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.18674,
    "h": 270.7
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#1D1D96
secondary
#C0C04F
accent
#EA3DEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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