#1E1071#1E1071

#1E1071 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.1% C 0.152 H 276.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#1E1071
RGBrgb(30, 16, 113)
HSLhsl(249, 75%, 25%)
HSVhsv(249, 86%, 44%)
CMYKcmyk(73.5%, 85.8%, 0%, 55.7%)
CIE-LABlab(14.62, 37.50, -52.27)
CIE-LCHlch(14.62, 64.33, 305.66°)
OKLaboklab(28.07% 0.0179 -0.151)
OKLCHoklch(28.07% 0.152 276.7)
XYZxyz(3.7004, 1.8385, 15.7794)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1071 #637110
analogous
#103271 #1E1071 #4F1071
triadic
#1E1071 #711E10 #10711E
tetradic
#1E1071 #711032 #637110 #10714F
square
#1E1071 #711032 #637110 #10714F
split-complementary
#1E1071 #714F10 #327110
monochromatic
#07041B #10083B #1E1071 #2C18A7 #3A1FDC

Accessibility & contrast

On white

15.35
#1E1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1071
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1071#FFFFFF#000000##FFFFFF
##1E10711.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1071;
/* rgb */ color: rgb(30, 16, 113);
/* oklch */ color: oklch(28.1% 0.152 276.7);
Tailwind
colors: {
  custom: {
    50: '#69529b',
    500: '#1e1071',
    950: '#000000',
  },
}
SCSS
$custom: #1e1071;
$custom-light: #69529b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1071",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 248.66,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28074,
    "c": 0.15209,
    "h": 276.7
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#1E1071
secondary
#98A934
accent
#F236D7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E1071

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

Preview Lab → · Contrast checker → · Palette generator →

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