#1E1D9F#1E1D9F

#1E1D9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.197 H 270.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1E1D9F
RGBrgb(30, 29, 159)
HSLhsl(240, 69%, 37%)
HSVhsv(240, 82%, 62%)
CMYKcmyk(81.1%, 81.8%, 0%, 37.6%)
CIE-LABlab(22.50, 45.90, -68.12)
CIE-LCHlch(22.50, 82.14, 303.97°)
OKLaboklab(35.19% 0.0016 -0.1972)
OKLCHoklch(35.19% 0.197 270.5)
XYZxyz(7.2307, 3.6571, 33.1190)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D9F #9E9F1D
analogous
#1D5D9F #1E1D9F #5F1D9F
triadic
#1E1D9F #9F1E1D #1D9F1E
tetradic
#1E1D9F #9F1D5D #9E9F1D #1D9F5F
square
#1E1D9F #9F1D5D #9E9F1D #1D9F5F
split-complementary
#1E1D9F #9F5F1D #5D9F1D
monochromatic
#0A0A37 #14146B #1E1D9F #2826D3 #5756E0

Accessibility & contrast

On white

12.13
#1E1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D9F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D9F#FFFFFF#000000##FFFFFF
##1E1D9F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e1d9f;
/* rgb */ color: rgb(30, 29, 159);
/* oklch */ color: oklch(35.2% 0.197 270.5);
Tailwind
colors: {
  custom: {
    50: '#745cbd',
    500: '#1e1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d9f;
$custom-light: #745cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d9f",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 240.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.19722,
    "h": 270.5
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#1E1D9F
secondary
#C3C454
accent
#EC3CEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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