#1D1E83#1D1E83

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

Color values

HEX#1D1E83
RGBrgb(29, 30, 131)
HSLhsl(239, 64%, 31%)
HSVhsv(239, 78%, 51%)
CMYKcmyk(77.9%, 77.1%, 0%, 48.6%)
CIE-LABlab(19.34, 35.84, -55.98)
CIE-LCHlch(19.34, 66.47, 302.63°)
OKLaboklab(31.99% 0.0059 -0.162)
OKLCHoklch(31.99% 0.162 272.1)
XYZxyz(5.0663, 2.8279, 21.7472)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E83 #83821D
analogous
#1D5183 #1D1E83 #4F1D83
triadic
#1D1E83 #831D1E #1E831D
tetradic
#1D1E83 #831D51 #83821D #1D834F
square
#1D1E83 #831D51 #83821D #1D834F
split-complementary
#1D1E83 #834F1D #51831D
monochromatic
#07071F #121351 #1D1E83 #2829B5 #4546D6

Accessibility & contrast

On white

13.41
#1D1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E83
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E83#FFFFFF#000000##FFFFFF
##1D1E831.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d1e83;
/* rgb */ color: rgb(29, 30, 131);
/* oklch */ color: oklch(32.0% 0.162 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c5ba8',
    500: '#1d1e83',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e83;
$custom-light: #6c5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e83",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 239.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.16213,
    "h": 272.1
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#1D1E83
secondary
#B6B546
accent
#E541E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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