#1E1882#1E1882

#1E1882 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.166 H 273.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1E1882
RGBrgb(30, 24, 130)
HSLhsl(243, 69%, 30%)
HSVhsv(243, 82%, 51%)
CMYKcmyk(76.9%, 81.5%, 0%, 49%)
CIE-LABlab(18.10, 38.98, -57.39)
CIE-LCHlch(18.10, 69.38, 304.18°)
OKLaboklab(31.1% 0.0099 -0.166)
OKLCHoklch(31.1% 0.166 273.4)
XYZxyz(4.8900, 2.5405, 21.3474)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1882 #7C8218
analogous
#184782 #1E1882 #531882
triadic
#1E1882 #821E18 #18821E
tetradic
#1E1882 #821847 #7C8218 #188253
square
#1E1882 #821847 #7C8218 #188253
split-complementary
#1E1882 #825318 #478218
monochromatic
#06051B #120E4E #1E1882 #2A22B6 #433ADB

Accessibility & contrast

On white

13.92
#1E1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1882
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1882#FFFFFF#000000##FFFFFF
##1E18821.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1882;
/* rgb */ color: rgb(30, 24, 130);
/* oklch */ color: oklch(31.1% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d58a8',
    500: '#1e1882',
    950: '#000000',
  },
}
SCSS
$custom: #1e1882;
$custom-light: #6d58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1882",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 243.396,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.311,
    "c": 0.16634,
    "h": 273.4
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1882

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

Preview Lab → · Contrast checker → · Palette generator →

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