#1E1D7F#1E1D7F

#1E1D7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.158 H 273.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1E1D7F
RGBrgb(30, 29, 127)
HSLhsl(241, 63%, 31%)
HSVhsv(241, 77%, 50%)
CMYKcmyk(76.4%, 77.2%, 0%, 50.2%)
CIE-LABlab(18.74, 35.12, -54.43)
CIE-LCHlch(18.74, 64.78, 302.83°)
OKLaboklab(31.45% 0.0083 -0.1575)
OKLCHoklch(31.45% 0.158 273)
XYZxyz(4.8043, 2.6866, 20.3399)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D7F #7E7F1D
analogous
#1D4D7F #1E1D7F #4F1D7F
triadic
#1E1D7F #7F1E1D #1D7F1E
tetradic
#1E1D7F #7F1D4D #7E7F1D #1D7F4F
square
#1E1D7F #7F1D4D #7E7F1D #1D7F4F
split-complementary
#1E1D7F #7F4F1D #4D7F1D
monochromatic
#06061B #12124D #1E1D7F #2A28B1 #4442D4

Accessibility & contrast

On white

13.66
#1E1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E1D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D7F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D7F#FFFFFF#000000##FFFFFF
##1E1D7F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1d7f;
/* rgb */ color: rgb(30, 29, 127);
/* oklch */ color: oklch(31.4% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#6b5aa5',
    500: '#1e1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d7f;
$custom-light: #6b5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d7f",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 240.612,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.15772,
    "h": 273
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#1E1D7F
secondary
#B1B245
accent
#E642E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #1E1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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