#1D2884#1D2884

#1D2884 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.152 H 270.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1D2884
RGBrgb(29, 40, 132)
HSLhsl(234, 64%, 32%)
HSVhsv(234, 78%, 52%)
CMYKcmyk(78%, 69.7%, 0%, 48.2%)
CIE-LABlab(21.74, 29.88, -52.65)
CIE-LCHlch(21.74, 60.54, 299.58°)
OKLaboklab(33.75% 0.0006 -0.1524)
OKLCHoklch(33.75% 0.152 270.2)
XYZxyz(5.4289, 3.4441, 22.2040)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2884 #84791D
analogous
#1D5C84 #1D2884 #461D84
triadic
#1D2884 #841D28 #28841D
tetradic
#1D2884 #841D5C #84791D #1D8446
square
#1D2884 #841D5C #84791D #1D8446
split-complementary
#1D2884 #84461D #5C841D
monochromatic
#070A20 #121952 #1D2884 #2837B6 #4555D6

Accessibility & contrast

On white

12.43
#1D2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2884
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2884#FFFFFF#000000##FFFFFF
##1D28841.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2884;
/* rgb */ color: rgb(29, 40, 132);
/* oklch */ color: oklch(33.7% 0.152 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b62a9',
    500: '#1d2884',
    950: '#000000',
  },
}
SCSS
$custom: #1d2884;
$custom-light: #6b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2884",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 233.592,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33746,
    "c": 0.15236,
    "h": 270.2
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#1D2884
secondary
#B7AB46
accent
#D541E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2884

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

Preview Lab → · Contrast checker → · Palette generator →

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