#1E1390#1E1390

#1E1390 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.187 H 272.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1E1390
RGBrgb(30, 19, 144)
HSLhsl(245, 77%, 32%)
HSVhsv(245, 87%, 56%)
CMYKcmyk(79.2%, 86.8%, 0%, 43.5%)
CIE-LABlab(19.03, 45.85, -64.63)
CIE-LCHlch(19.03, 79.25, 305.35°)
OKLaboklab(32.25% 0.0076 -0.1869)
OKLCHoklch(32.25% 0.187 272.3)
XYZxyz(5.8006, 2.7547, 26.6062)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1390 #859013
analogous
#134790 #1E1390 #5D1390
triadic
#1E1390 #901E13 #13901E
tetradic
#1E1390 #901347 #859013 #13905D
square
#1E1390 #901347 #859013 #13905D
split-complementary
#1E1390 #905D13 #479013
monochromatic
#070524 #130C5A #1E1390 #291AC6 #4839E5

Accessibility & contrast

On white

13.54
#1E1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1390
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1390#FFFFFF#000000##FFFFFF
##1E13901.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1390;
/* rgb */ color: rgb(30, 19, 144);
/* oklch */ color: oklch(32.3% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#7156b2',
    500: '#1e1390',
    950: '#000000',
  },
}
SCSS
$custom: #1e1390;
$custom-light: #7156b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1390",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 245.28,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.18709,
    "h": 272.3
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#1E1390
secondary
#B8C43B
accent
#F335E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E1390

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

Preview Lab → · Contrast checker → · Palette generator →

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