#1E1884#1E1884

#1E1884 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.169 H 273.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1E1884
RGBrgb(30, 24, 132)
HSLhsl(243, 69%, 31%)
HSVhsv(243, 82%, 52%)
CMYKcmyk(77.3%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.34, 39.64, -58.26)
CIE-LCHlch(18.34, 70.47, 304.23°)
OKLaboklab(31.34% 0.0094 -0.1686)
OKLCHoklch(31.34% 0.169 273.2)
XYZxyz(5.0255, 2.5947, 22.0613)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1884 #7E8418
analogous
#184884 #1E1884 #541884
triadic
#1E1884 #841E18 #18841E
tetradic
#1E1884 #841848 #7E8418 #188454
square
#1E1884 #841848 #7E8418 #188454
split-complementary
#1E1884 #845418 #488418
monochromatic
#06051C #120F50 #1E1884 #2A21B8 #443BDB

Accessibility & contrast

On white

13.82
#1E1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1884
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1884#FFFFFF#000000##FFFFFF
##1E18841.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1884;
/* rgb */ color: rgb(30, 24, 132);
/* oklch */ color: oklch(31.3% 0.169 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d58a9',
    500: '#1e1884',
    950: '#000000',
  },
}
SCSS
$custom: #1e1884;
$custom-light: #6d58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1884",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 243.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31339,
    "c": 0.16882,
    "h": 273.2
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#1E1884
secondary
#B1B840
accent
#EC3CE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1884

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

Preview Lab → · Contrast checker → · Palette generator →

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