#1E1371#1E1371

#1E1371 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.150 H 276.4°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#1E1371
RGBrgb(30, 19, 113)
HSLhsl(247, 71%, 26%)
HSVhsv(247, 83%, 44%)
CMYKcmyk(73.5%, 83.2%, 0%, 55.7%)
CIE-LABlab(15.14, 35.98, -51.41)
CIE-LCHlch(15.14, 62.75, 304.99°)
OKLaboklab(28.43% 0.0165 -0.1486)
OKLCHoklch(28.43% 0.15 276.4)
XYZxyz(3.7480, 1.9337, 15.7953)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1371 #667113
analogous
#133771 #1E1371 #4D1371
triadic
#1E1371 #711E13 #13711E
tetradic
#1E1371 #711337 #667113 #13714D
square
#1E1371 #711337 #667113 #13714D
split-complementary
#1E1371 #714D13 #377113
monochromatic
#07041A #100A3D #1E1371 #2C1CA5 #3A25DA

Accessibility & contrast

On white

15.14
#1E1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1371
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1371#FFFFFF#000000##FFFFFF
##1E13711.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1371;
/* rgb */ color: rgb(30, 19, 113);
/* oklch */ color: oklch(28.4% 0.150 276.4);
Tailwind
colors: {
  custom: {
    50: '#69549b',
    500: '#1e1371',
    950: '#000000',
  },
}
SCSS
$custom: #1e1371;
$custom-light: #69549b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1371",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 247.021,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28434,
    "c": 0.14951,
    "h": 276.4
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#1E1371
secondary
#9BA838
accent
#EE3AD9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1371

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

Preview Lab → · Contrast checker → · Palette generator →

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