#1E1A84#1E1A84

#1E1A84 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.167 H 272.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1E1A84
RGBrgb(30, 26, 132)
HSLhsl(242, 67%, 31%)
HSVhsv(242, 80%, 52%)
CMYKcmyk(77.3%, 80.3%, 0%, 48.2%)
CIE-LABlab(18.71, 38.56, -57.64)
CIE-LCHlch(18.71, 69.35, 303.78°)
OKLaboklab(31.6% 0.0086 -0.1668)
OKLCHoklch(31.6% 0.167 272.9)
XYZxyz(5.0683, 2.6802, 22.0755)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A84 #80841A
analogous
#1A4B84 #1E1A84 #531A84
triadic
#1E1A84 #841E1A #1A841E
tetradic
#1E1A84 #841A4B #80841A #1A8453
square
#1E1A84 #841A4B #80841A #1A8453
split-complementary
#1E1A84 #84531A #4B841A
monochromatic
#07061E #121051 #1E1A84 #2A24B7 #453FD9

Accessibility & contrast

On white

13.67
#1E1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1A84
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A84#FFFFFF#000000##FFFFFF
##1E1A841.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1a84;
/* rgb */ color: rgb(30, 26, 132);
/* oklch */ color: oklch(31.6% 0.167 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d59a9',
    500: '#1e1a84',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a84;
$custom-light: #6d59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a84",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 242.264,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.316,
    "c": 0.16701,
    "h": 272.9
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#1E1A84
secondary
#B3B842
accent
#EA3EE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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