#1E1471#1E1471

#1E1471 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.149 H 276.2°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#1E1471
RGBrgb(30, 20, 113)
HSLhsl(246, 70%, 26%)
HSVhsv(246, 82%, 44%)
CMYKcmyk(73.5%, 82.3%, 0%, 55.7%)
CIE-LABlab(15.32, 35.45, -51.10)
CIE-LCHlch(15.32, 62.19, 304.75°)
OKLaboklab(28.56% 0.0161 -0.1477)
OKLCHoklch(28.56% 0.149 276.2)
XYZxyz(3.7652, 1.9682, 15.8011)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1471 #677114
analogous
#143871 #1E1471 #4C1471
triadic
#1E1471 #711E14 #14711E
tetradic
#1E1471 #711438 #677114 #14714C
square
#1E1471 #711438 #677114 #14714C
split-complementary
#1E1471 #714C14 #387114
monochromatic
#07051A #100B3D #1E1471 #2C1DA5 #3A27D9

Accessibility & contrast

On white

15.07
#1E1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1471
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1471#FFFFFF#000000##FFFFFF
##1E14711.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.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: #1e1471;
/* rgb */ color: rgb(30, 20, 113);
/* oklch */ color: oklch(28.6% 0.149 276.2);
Tailwind
colors: {
  custom: {
    50: '#69549b',
    500: '#1e1471',
    950: '#000000',
  },
}
SCSS
$custom: #1e1471;
$custom-light: #69549b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1471",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 246.452,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28563,
    "c": 0.14859,
    "h": 276.2
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#1E1471
secondary
#9CA739
accent
#ED3BDA
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1471

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

Preview Lab → · Contrast checker → · Palette generator →

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