#1D2084#1D2084

#1D2084 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.161 H 271.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1D2084
RGBrgb(29, 32, 132)
HSLhsl(238, 64%, 32%)
HSVhsv(238, 78%, 52%)
CMYKcmyk(78%, 75.8%, 0%, 48.2%)
CIE-LABlab(19.88, 34.99, -55.71)
CIE-LCHlch(19.88, 65.79, 302.13°)
OKLaboklab(32.41% 0.0048 -0.1613)
OKLCHoklch(32.41% 0.161 271.7)
XYZxyz(5.1867, 2.9596, 22.1232)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2084 #84811D
analogous
#1D5484 #1D2084 #4E1D84
triadic
#1D2084 #841D20 #20841D
tetradic
#1D2084 #841D54 #84811D #1D844E
square
#1D2084 #841D54 #84811D #1D844E
split-complementary
#1D2084 #844E1D #54841D
monochromatic
#070820 #121452 #1D2084 #282CB6 #4549D6

Accessibility & contrast

On white

13.19
#1D2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2084
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2084#FFFFFF#000000##FFFFFF
##1D20841.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2084;
/* rgb */ color: rgb(29, 32, 132);
/* oklch */ color: oklch(32.4% 0.161 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ca9',
    500: '#1d2084',
    950: '#000000',
  },
}
SCSS
$custom: #1d2084;
$custom-light: #6c5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2084",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 238.252,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32407,
    "c": 0.16135,
    "h": 271.7
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#1D2084
secondary
#B7B446
accent
#E241E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2084

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

Preview Lab → · Contrast checker → · Palette generator →

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