#1E1D9D#1E1D9D

#1E1D9D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.195 H 270.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1E1D9D
RGBrgb(30, 29, 157)
HSLhsl(240, 69%, 36%)
HSVhsv(240, 82%, 62%)
CMYKcmyk(80.9%, 81.5%, 0%, 38.4%)
CIE-LABlab(22.26, 45.25, -67.30)
CIE-LCHlch(22.26, 81.10, 303.91°)
OKLaboklab(34.95% 0.002 -0.1948)
OKLCHoklch(34.95% 0.195 270.6)
XYZxyz(7.0585, 3.5883, 32.2123)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D9D #9C9D1D
analogous
#1D5C9D #1E1D9D #5E1D9D
triadic
#1E1D9D #9D1E1D #1D9D1E
tetradic
#1E1D9D #9D1D5C #9C9D1D #1D9D5E
square
#1E1D9D #9D1D5C #9C9D1D #1D9D5E
split-complementary
#1E1D9D #9D5E1D #5C9D1D
monochromatic
#0A0A36 #141369 #1E1D9D #2827D1 #5655E0

Accessibility & contrast

On white

12.22
#1E1D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1D9D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D9D#FFFFFF#000000##FFFFFF
##1E1D9D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e1d9d;
/* rgb */ color: rgb(30, 29, 157);
/* oklch */ color: oklch(34.9% 0.195 270.6);
Tailwind
colors: {
  custom: {
    50: '#735cbb',
    500: '#1e1d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d9d;
$custom-light: #735cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d9d",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 240.469,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.19485,
    "h": 270.6
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#1E1D9D
secondary
#C2C353
accent
#EC3CEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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