#1E1883#1E1883

#1E1883 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.168 H 273.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1E1883
RGBrgb(30, 24, 131)
HSLhsl(243, 69%, 30%)
HSVhsv(243, 82%, 51%)
CMYKcmyk(77.1%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.22, 39.31, -57.83)
CIE-LCHlch(18.22, 69.92, 304.21°)
OKLaboklab(31.22% 0.0096 -0.1673)
OKLCHoklch(31.22% 0.168 273.3)
XYZxyz(4.9574, 2.5675, 21.7026)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1883 #7D8318
analogous
#184883 #1E1883 #531883
triadic
#1E1883 #831E18 #18831E
tetradic
#1E1883 #831848 #7D8318 #188353
square
#1E1883 #831848 #7D8318 #188353
split-complementary
#1E1883 #835318 #488318
monochromatic
#06051C #120F4F #1E1883 #2A21B7 #433ADB

Accessibility & contrast

On white

13.87
#1E1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1883
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1883#FFFFFF#000000##FFFFFF
##1E18831.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1883;
/* rgb */ color: rgb(30, 24, 131);
/* oklch */ color: oklch(31.2% 0.168 273.3);
Tailwind
colors: {
  custom: {
    50: '#6d58a8',
    500: '#1e1883',
    950: '#000000',
  },
}
SCSS
$custom: #1e1883;
$custom-light: #6d58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1883",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 243.364,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31219,
    "c": 0.16759,
    "h": 273.3
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1883

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

Preview Lab → · Contrast checker → · Palette generator →

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