#1E1381#1E1381

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

Color values

HEX#1E1381
RGBrgb(30, 19, 129)
HSLhsl(246, 74%, 29%)
HSVhsv(246, 85%, 51%)
CMYKcmyk(76.7%, 85.3%, 0%, 49.4%)
CIE-LABlab(17.11, 41.17, -58.39)
CIE-LCHlch(17.11, 71.45, 305.19°)
OKLaboklab(30.38% 0.0119 -0.1689)
OKLCHoklch(30.38% 0.169 274)
XYZxyz(4.7294, 2.3263, 20.9644)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1381 #768113
analogous
#133F81 #1E1381 #551381
triadic
#1E1381 #811E13 #13811E
tetradic
#1E1381 #81133F #768113 #138155
square
#1E1381 #81133F #768113 #138155
split-complementary
#1E1381 #815513 #3F8113
monochromatic
#06041B #120B4C #1E1381 #2A1BB6 #402EE0

Accessibility & contrast

On white

14.33
#1E1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1381
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1381#FFFFFF#000000##FFFFFF
##1E13811.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1381;
/* rgb */ color: rgb(30, 19, 129);
/* oklch */ color: oklch(30.4% 0.169 274.0);
Tailwind
colors: {
  custom: {
    50: '#6d55a7',
    500: '#1e1381',
    950: '#000000',
  },
}
SCSS
$custom: #1e1381;
$custom-light: #6d55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1381",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 246,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3038,
    "c": 0.16929,
    "h": 274
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#1E1381
secondary
#AAB63A
accent
#F137DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1381

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

Preview Lab → · Contrast checker → · Palette generator →

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