#1E1D7B#1E1D7B

#1E1D7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.152 H 273.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#1E1D7B
RGBrgb(30, 29, 123)
HSLhsl(241, 62%, 30%)
HSVhsv(241, 76%, 48%)
CMYKcmyk(75.6%, 76.4%, 0%, 51.8%)
CIE-LABlab(18.30, 33.70, -52.62)
CIE-LCHlch(18.30, 62.49, 302.64°)
OKLaboklab(31% 0.0091 -0.1522)
OKLCHoklch(31% 0.153 273.4)
XYZxyz(4.5487, 2.5844, 18.9942)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1D7B #7A7B1D
analogous
#1D4B7B #1E1D7B #4D1D7B
triadic
#1E1D7B #7B1E1D #1D7B1E
tetradic
#1E1D7B #7B1D4B #7A7B1D #1D7B4D
square
#1E1D7B #7B1D4B #7A7B1D #1D7B4D
split-complementary
#1E1D7B #7B4D1D #4B7B1D
monochromatic
#060619 #121149 #1E1D7B #2A29AD #4240D2

Accessibility & contrast

On white

13.84
#1E1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1D7B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1D7B#FFFFFF#000000##FFFFFF
##1E1D7B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1d7b;
/* rgb */ color: rgb(30, 29, 123);
/* oklch */ color: oklch(31.0% 0.152 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a5aa2',
    500: '#1e1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e1d7b;
$custom-light: #6a5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1d7b",
  "rgb": {
    "r": 30,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 240.638,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31,
    "c": 0.1525,
    "h": 273.4
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#1E1D7B
secondary
#AEAF45
accent
#E543E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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