#1E1EA1#1E1EA1

#1E1EA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.199 H 270.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1E1EA1
RGBrgb(30, 30, 161)
HSLhsl(240, 69%, 37%)
HSVhsv(240, 81%, 63%)
CMYKcmyk(81.4%, 81.4%, 0%, 36.9%)
CIE-LABlab(22.92, 46.04, -68.65)
CIE-LCHlch(22.92, 82.66, 303.85°)
OKLaboklab(35.55% 0.0009 -0.1988)
OKLCHoklch(35.55% 0.199 270.3)
XYZxyz(7.4305, 3.7769, 34.0487)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1EA1 #A1A11E
analogous
#1E60A1 #1E1EA1 #601EA1
triadic
#1E1EA1 #A11E1E #1EA11E
tetradic
#1E1EA1 #A11E60 #A1A11E #1EA160
square
#1E1EA1 #A11E60 #A1A11E #1EA160
split-complementary
#1E1EA1 #A1601E #60A11E
monochromatic
#0B0B3A #14146D #1E1EA1 #2828D5 #5959E0

Accessibility & contrast

On white

11.96
#1E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1EA1
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1EA1#FFFFFF#000000##FFFFFF
##1E1EA11.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e1ea1;
/* rgb */ color: rgb(30, 30, 161);
/* oklch */ color: oklch(35.5% 0.199 270.3);
Tailwind
colors: {
  custom: {
    50: '#745dbe',
    500: '#1e1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1e1ea1;
$custom-light: #745dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1ea1",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 240,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35548,
    "c": 0.19876,
    "h": 270.3
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#1E1EA1
secondary
#C4C457
accent
#EB3CEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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