#1E1070#1E1070

#1E1070 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.151 H 276.9°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#1E1070
RGBrgb(30, 16, 112)
HSLhsl(249, 75%, 25%)
HSVhsv(249, 86%, 44%)
CMYKcmyk(73.2%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.49, 37.18, -51.82)
CIE-LCHlch(14.49, 63.78, 305.65°)
OKLaboklab(27.95% 0.0182 -0.1497)
OKLCHoklch(27.95% 0.151 276.9)
XYZxyz(3.6444, 1.8161, 15.4846)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1070 #627010
analogous
#103270 #1E1070 #4E1070
triadic
#1E1070 #701E10 #10701E
tetradic
#1E1070 #701032 #627010 #10704E
square
#1E1070 #701032 #627010 #10704E
split-complementary
#1E1070 #704E10 #327010
monochromatic
#07041B #10083A #1E1070 #2C18A6 #3B1FDB

Accessibility & contrast

On white

15.40
#1E1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1070
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1070#FFFFFF#000000##FFFFFF
##1E10701.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1070;
/* rgb */ color: rgb(30, 16, 112);
/* oklch */ color: oklch(28.0% 0.151 276.9);
Tailwind
colors: {
  custom: {
    50: '#69529a',
    500: '#1e1070',
    950: '#000000',
  },
}
SCSS
$custom: #1e1070;
$custom-light: #69529a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1070",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 248.75,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27952,
    "c": 0.15085,
    "h": 276.9
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#1E1070
secondary
#97A834
accent
#F236D6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E1070

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

Preview Lab → · Contrast checker → · Palette generator →

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