#1D1E95#1D1E95

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

Color values

HEX#1D1E95
RGBrgb(29, 30, 149)
HSLhsl(240, 67%, 35%)
HSVhsv(240, 81%, 58%)
CMYKcmyk(80.5%, 79.9%, 0%, 41.6%)
CIE-LABlab(21.43, 42.02, -63.76)
CIE-LCHlch(21.43, 76.36, 303.39°)
OKLaboklab(34.07% 0.0023 -0.1846)
OKLCHoklch(34.07% 0.185 270.7)
XYZxyz(6.3939, 3.3590, 28.7393)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E95 #95941D
analogous
#1D5A95 #1D1E95 #581D95
triadic
#1D1E95 #951D1E #1E951D
tetradic
#1D1E95 #951D5A #95941D #1D9558
square
#1D1E95 #951D5A #95941D #1D9558
split-complementary
#1D1E95 #95581D #5A951D
monochromatic
#09092F #131462 #1D1E95 #2728C8 #5051DD

Accessibility & contrast

On white

12.56
#1D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1E95
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E95#FFFFFF#000000##FFFFFF
##1D1E951.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d1e95;
/* rgb */ color: rgb(29, 30, 149);
/* oklch */ color: oklch(34.1% 0.185 270.7);
Tailwind
colors: {
  custom: {
    50: '#715cb5',
    500: '#1d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e95;
$custom-light: #715cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e95",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 239.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34073,
    "c": 0.18464,
    "h": 270.7
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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