#1E1D5D#1E1D5D

#1E1D5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.111 H 277.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1E1D5D
RGBrgb(30, 29, 93)
HSLhsl(241, 52%, 24%)
HSVhsv(241, 69%, 36%)
CMYKcmyk(67.7%, 68.8%, 0%, 63.5%)
CIE-LABlab(15.19, 22.67, -38.14)
CIE-LCHlch(15.19, 44.37, 300.72°)
OKLaboklab(27.83% 0.0137 -0.1099)
OKLCHoklch(27.83% 0.111 277.1)
XYZxyz(2.9499, 1.9448, 10.5737)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D5D #5C5D1D
analogous
#1D3C5D #1E1D5D #3E1D5D
triadic
#1E1D5D #5D1E1D #1D5D1E
tetradic
#1E1D5D #5D1D3C #5C5D1D #1D5D3E
square
#1E1D5D #5D1D3C #5C5D1D #1D5D3E
split-complementary
#1E1D5D #5D3E1D #3C5D1D
monochromatic
#080717 #0F0E2E #1E1D5D #2D2C8C #3C3ABA

Accessibility & contrast

On white

15.12
#1E1D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D5D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D5D#FFFFFF#000000##FFFFFF
##1E1D5D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1d5d;
/* rgb */ color: rgb(30, 29, 93);
/* oklch */ color: oklch(27.8% 0.111 277.1);
Tailwind
colors: {
  custom: {
    50: '#63598c',
    500: '#1e1d5d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d5d;
$custom-light: #63598c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d5d",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 240.938,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.11077,
    "h": 277.1
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#1E1D5D
secondary
#919244
accent
#DC4CDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E1D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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