#1E1480#1E1480

#1E1480 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.167 H 274.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1E1480
RGBrgb(30, 20, 128)
HSLhsl(246, 73%, 29%)
HSVhsv(246, 84%, 50%)
CMYKcmyk(76.6%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.15, 40.37, -57.70)
CIE-LCHlch(17.15, 70.42, 304.98°)
OKLaboklab(30.37% 0.0118 -0.1669)
OKLCHoklch(30.37% 0.167 274.1)
XYZxyz(4.6806, 2.3344, 20.6218)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1480 #768014
analogous
#144080 #1E1480 #541480
triadic
#1E1480 #801E14 #14801E
tetradic
#1E1480 #801440 #768014 #148054
square
#1E1480 #801440 #768014 #148054
split-complementary
#1E1480 #805414 #408014
monochromatic
#06041A #120C4B #1E1480 #2A1CB5 #4030DF

Accessibility & contrast

On white

14.31
#1E1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1480
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1480#FFFFFF#000000##FFFFFF
##1E14801.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1480;
/* rgb */ color: rgb(30, 20, 128);
/* oklch */ color: oklch(30.4% 0.167 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c55a6',
    500: '#1e1480',
    950: '#000000',
  },
}
SCSS
$custom: #1e1480;
$custom-light: #6c55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1480",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 245.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3037,
    "c": 0.16728,
    "h": 274.1
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#1E1480
secondary
#AAB53B
accent
#F038DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E1480

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

Preview Lab → · Contrast checker → · Palette generator →

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