#1E1D7D#1E1D7D

#1E1D7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.155 H 273.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E1D7D
RGBrgb(30, 29, 125)
HSLhsl(241, 62%, 30%)
HSVhsv(241, 77%, 49%)
CMYKcmyk(76%, 76.8%, 0%, 51%)
CIE-LABlab(18.52, 34.41, -53.53)
CIE-LCHlch(18.52, 63.64, 302.74°)
OKLaboklab(31.22% 0.0087 -0.1549)
OKLCHoklch(31.22% 0.155 273.2)
XYZxyz(4.6752, 2.6349, 19.6603)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D7D #7C7D1D
analogous
#1D4C7D #1E1D7D #4E1D7D
triadic
#1E1D7D #7D1E1D #1D7D1E
tetradic
#1E1D7D #7D1D4C #7C7D1D #1D7D4E
square
#1E1D7D #7D1D4C #7C7D1D #1D7D4E
split-complementary
#1E1D7D #7D4E1D #4C7D1D
monochromatic
#06061A #12114B #1E1D7D #2A29AF #4341D3

Accessibility & contrast

On white

13.75
#1E1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D7D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D7D#FFFFFF#000000##FFFFFF
##1E1D7D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1d7d;
/* rgb */ color: rgb(30, 29, 125);
/* oklch */ color: oklch(31.2% 0.155 273.2);
Tailwind
colors: {
  custom: {
    50: '#6b5aa4',
    500: '#1e1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d7d;
$custom-light: #6b5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d7d",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 240.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31224,
    "c": 0.15512,
    "h": 273.2
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#1E1D7D
secondary
#AFB145
accent
#E542E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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