#1E1081#1E1081

#1E1081 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.1% C 0.171 H 274.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#1E1081
RGBrgb(30, 16, 129)
HSLhsl(247, 78%, 28%)
HSVhsv(247, 88%, 51%)
CMYKcmyk(76.7%, 87.6%, 0%, 49.4%)
CIE-LABlab(16.66, 42.53, -59.16)
CIE-LCHlch(16.66, 72.86, 305.71°)
OKLaboklab(30.07% 0.0128 -0.171)
OKLCHoklch(30.07% 0.171 274.3)
XYZxyz(4.6818, 2.2311, 20.9485)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1081 #738110
analogous
#103A81 #1E1081 #561081
triadic
#1E1081 #811E10 #10811E
tetradic
#1E1081 #81103A #738110 #108156
square
#1E1081 #81103A #738110 #108156
split-complementary
#1E1081 #815610 #3A8110
monochromatic
#06031B #11094B #1E1081 #2B17B7 #3F27E4

Accessibility & contrast

On white

14.52
#1E1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1081
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1081#FFFFFF#000000##FFFFFF
##1E10811.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1081;
/* rgb */ color: rgb(30, 16, 129);
/* oklch */ color: oklch(30.1% 0.171 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d53a7',
    500: '#1e1081',
    950: '#000000',
  },
}
SCSS
$custom: #1e1081;
$custom-light: #6d53a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1081",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 247.434,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.17149,
    "h": 274.3
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#1E1081
secondary
#A7B736
accent
#F433DD
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1081

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

Preview Lab → · Contrast checker → · Palette generator →

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