#1E1280#1E1280

#1E1280 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.169 H 274.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#1E1280
RGBrgb(30, 18, 128)
HSLhsl(247, 75%, 29%)
HSVhsv(247, 86%, 50%)
CMYKcmyk(76.6%, 85.9%, 0%, 49.8%)
CIE-LABlab(16.83, 41.32, -58.23)
CIE-LCHlch(16.83, 71.40, 305.36°)
OKLaboklab(30.15% 0.0125 -0.1684)
OKLCHoklch(30.15% 0.169 274.2)
XYZxyz(4.6467, 2.2667, 20.6105)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1280 #748012
analogous
#123D80 #1E1280 #551280
triadic
#1E1280 #801E12 #12801E
tetradic
#1E1280 #80123D #748012 #128055
square
#1E1280 #80123D #748012 #128055
split-complementary
#1E1280 #805512 #3D8012
monochromatic
#06041B #110A4A #1E1280 #2B1AB6 #3F2BE1

Accessibility & contrast

On white

14.45
#1E1280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E1280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1280
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1280#FFFFFF#000000##FFFFFF
##1E12801.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1280;
/* rgb */ color: rgb(30, 18, 128);
/* oklch */ color: oklch(30.1% 0.169 274.2);
Tailwind
colors: {
  custom: {
    50: '#6d54a6',
    500: '#1e1280',
    950: '#000000',
  },
}
SCSS
$custom: #1e1280;
$custom-light: #6d54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1280",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 246.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.16884,
    "h": 274.2
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#1E1280
secondary
#A8B638
accent
#F236DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1280

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

Preview Lab → · Contrast checker → · Palette generator →

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