#1E1D7E#1E1D7E

#1E1D7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.156 H 273.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1E1D7E
RGBrgb(30, 29, 126)
HSLhsl(241, 63%, 30%)
HSVhsv(241, 77%, 49%)
CMYKcmyk(76.2%, 77%, 0%, 50.6%)
CIE-LABlab(18.63, 34.77, -53.98)
CIE-LCHlch(18.63, 64.21, 302.78°)
OKLaboklab(31.34% 0.0085 -0.1562)
OKLCHoklch(31.34% 0.156 273.1)
XYZxyz(4.7394, 2.6606, 19.9984)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D7E #7D7E1D
analogous
#1D4C7E #1E1D7E #4F1D7E
triadic
#1E1D7E #7E1E1D #1D7E1E
tetradic
#1E1D7E #7E1D4C #7D7E1D #1D7E4F
square
#1E1D7E #7E1D4C #7D7E1D #1D7E4F
split-complementary
#1E1D7E #7E4F1D #4C7E1D
monochromatic
#06061B #12124C #1E1D7E #2A28B0 #4342D3

Accessibility & contrast

On white

13.71
#1E1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1D7E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D7E#FFFFFF#000000##FFFFFF
##1E1D7E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1d7e;
/* rgb */ color: rgb(30, 29, 126);
/* oklch */ color: oklch(31.3% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b5aa4',
    500: '#1e1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d7e;
$custom-light: #6b5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d7e",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 240.619,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.15642,
    "h": 273.1
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#1E1D7E
secondary
#B0B145
accent
#E642E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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