#1D1984#1D1984

#1D1984 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.168 H 272.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#1D1984
RGBrgb(29, 25, 132)
HSLhsl(242, 68%, 31%)
HSVhsv(242, 81%, 52%)
CMYKcmyk(78%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.46, 39.03, -58.06)
CIE-LCHlch(18.46, 69.96, 303.91°)
OKLaboklab(31.41% 0.0077 -0.168)
OKLCHoklch(31.41% 0.168 272.6)
XYZxyz(5.0178, 2.6219, 22.0669)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1984 #808419
analogous
#194A84 #1D1984 #521984
triadic
#1D1984 #841D19 #19841D
tetradic
#1D1984 #84194A #808419 #198452
square
#1D1984 #84194A #808419 #198452
split-complementary
#1D1984 #845219 #4A8419
monochromatic
#06061D #120F51 #1D1984 #2823B7 #433DDA

Accessibility & contrast

On white

13.78
#1D1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1984
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1984#FFFFFF#000000##FFFFFF
##1D19841.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1984;
/* rgb */ color: rgb(29, 25, 132);
/* oklch */ color: oklch(31.4% 0.168 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d58a9',
    500: '#1d1984',
    950: '#000000',
  },
}
SCSS
$custom: #1d1984;
$custom-light: #6d58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1984",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 242.243,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.16821,
    "h": 272.6
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#1D1984
secondary
#B3B841
accent
#EB3DE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1984

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

Preview Lab → · Contrast checker → · Palette generator →

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