#1E1D9E#1E1D9E

#1E1D9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.196 H 270.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#1E1D9E
RGBrgb(30, 29, 158)
HSLhsl(240, 69%, 37%)
HSVhsv(240, 82%, 62%)
CMYKcmyk(81%, 81.6%, 0%, 38%)
CIE-LABlab(22.38, 45.57, -67.71)
CIE-LCHlch(22.38, 81.62, 303.94°)
OKLaboklab(35.07% 0.0018 -0.196)
OKLCHoklch(35.07% 0.196 270.5)
XYZxyz(7.1442, 3.6226, 32.6638)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D9E #9D9E1D
analogous
#1D5D9E #1E1D9E #5F1D9E
triadic
#1E1D9E #9E1E1D #1D9E1E
tetradic
#1E1D9E #9E1D5D #9D9E1D #1D9E5F
square
#1E1D9E #9E1D5D #9D9E1D #1D9E5F
split-complementary
#1E1D9E #9E5F1D #5D9E1D
monochromatic
#0A0A37 #14146A #1E1D9E #2826D2 #5756E0

Accessibility & contrast

On white

12.18
#1E1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D9E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D9E#FFFFFF#000000##FFFFFF
##1E1D9E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e1d9e;
/* rgb */ color: rgb(30, 29, 158);
/* oklch */ color: oklch(35.1% 0.196 270.5);
Tailwind
colors: {
  custom: {
    50: '#735cbc',
    500: '#1e1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d9e;
$custom-light: #735cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d9e",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 240.465,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.19604,
    "h": 270.5
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#1E1D9E
secondary
#C2C354
accent
#EC3CEA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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