#1E1D8D#1E1D8D

#1E1D8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.175 H 271.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1E1D8D
RGBrgb(30, 29, 141)
HSLhsl(241, 66%, 33%)
HSVhsv(241, 79%, 55%)
CMYKcmyk(78.7%, 79.4%, 0%, 44.7%)
CIE-LABlab(20.35, 39.95, -60.58)
CIE-LCHlch(20.35, 72.57, 303.40°)
OKLaboklab(33.06% 0.0055 -0.1754)
OKLCHoklch(33.06% 0.175 271.8)
XYZxyz(5.7809, 3.0772, 25.4834)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D8D #8C8D1D
analogous
#1D548D #1E1D8D #561D8D
triadic
#1E1D8D #8D1E1D #1D8D1E
tetradic
#1E1D8D #8D1D54 #8C8D1D #1D8D56
square
#1E1D8D #8D1D54 #8C8D1D #1D8D56
split-complementary
#1E1D8D #8D561D #548D1D
monochromatic
#080827 #13135A #1E1D8D #2927C0 #4C4BDA

Accessibility & contrast

On white

13.00
#1E1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E1D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D8D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D8D#FFFFFF#000000##FFFFFF
##1E1D8D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1d8d;
/* rgb */ color: rgb(30, 29, 141);
/* oklch */ color: oklch(33.1% 0.175 271.8);
Tailwind
colors: {
  custom: {
    50: '#6f5bb0',
    500: '#1e1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d8d;
$custom-light: #6f5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d8d",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 240.536,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.17544,
    "h": 271.8
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#1E1D8D
secondary
#BBBC4A
accent
#E93FE7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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