#1D1D84#1D1D84

#1D1D84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.164 H 272.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1D1D84
RGBrgb(29, 29, 132)
HSLhsl(240, 64%, 32%)
HSVhsv(240, 78%, 52%)
CMYKcmyk(78%, 78%, 0%, 48.2%)
CIE-LABlab(19.25, 36.78, -56.76)
CIE-LCHlch(19.25, 67.64, 302.94°)
OKLaboklab(31.96% 0.0061 -0.1643)
OKLCHoklch(31.96% 0.164 272.1)
XYZxyz(5.1095, 2.8053, 22.0975)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D84 #84841D
analogous
#1D5184 #1D1D84 #511D84
triadic
#1D1D84 #841D1D #1D841D
tetradic
#1D1D84 #841D51 #84841D #1D8451
square
#1D1D84 #841D51 #84841D #1D8451
split-complementary
#1D1D84 #84511D #51841D
monochromatic
#070720 #121252 #1D1D84 #2828B6 #4545D6

Accessibility & contrast

On white

13.45
#1D1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D84
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D84#FFFFFF#000000##FFFFFF
##1D1D841.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1d84;
/* rgb */ color: rgb(29, 29, 132);
/* oklch */ color: oklch(32.0% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c5ba9',
    500: '#1d1d84',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d84;
$custom-light: #6c5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d84",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.16441,
    "h": 272.1
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#1D1D84
secondary
#B7B746
accent
#E741E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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