#1D1884#1D1884

#1D1884 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.169 H 272.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1D1884
RGBrgb(29, 24, 132)
HSLhsl(243, 69%, 31%)
HSVhsv(243, 82%, 52%)
CMYKcmyk(78%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.28, 39.57, -58.37)
CIE-LCHlch(18.28, 70.51, 304.13°)
OKLaboklab(31.28% 0.0081 -0.1689)
OKLCHoklch(31.28% 0.169 272.7)
XYZxyz(4.9968, 2.5799, 22.0599)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1884 #7F8418
analogous
#184984 #1D1884 #531884
triadic
#1D1884 #841D18 #18841D
tetradic
#1D1884 #841849 #7F8418 #188453
square
#1D1884 #841849 #7F8418 #188453
split-complementary
#1D1884 #845318 #498418
monochromatic
#06051C #120F50 #1D1884 #2821B8 #423BDB

Accessibility & contrast

On white

13.85
#1D1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1884
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1884#FFFFFF#000000##FFFFFF
##1D18841.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1884;
/* rgb */ color: rgb(29, 24, 132);
/* oklch */ color: oklch(31.3% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d58a9',
    500: '#1d1884',
    950: '#000000',
  },
}
SCSS
$custom: #1d1884;
$custom-light: #6d58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1884",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 242.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31276,
    "c": 0.16909,
    "h": 272.7
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#1D1884
secondary
#B2B840
accent
#EC3CE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1884

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

Preview Lab → · Contrast checker → · Palette generator →

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